External interfacing

2 ビュー (過去 30 日間)
Abioye Samson
Abioye Samson 2011 年 11 月 24 日
Hello, pls i want to know how to connect matlab with an external hardware device using the usb port.

回答 (1 件)

Walter Roberson
Walter Roberson 2011 年 11 月 24 日
If you need a general USB interface able to handle any kind of USB device, then MATLAB does not provide that.
Is the device acting like a disk drive, or is it acting like headphones, or is it acting like a camera, or like a microphone?
If it is a data collection or data output device, those usually implement virtual serial port interfaces, which can be talked to as if they are normal serial() devices (provided that the device was already connected when MATLAB started.)

カテゴリ

Help Center および File ExchangeEmbedded Coder についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by