External interfacing

4 次查看(过去 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 CenterFile Exchange 中查找有关 Embedded Coder 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by