USB Interface using MATLAB

3 次查看(过去 30 天)
Hello Friends
Is there anyway to access USB or any other communication port in our laptop using MATLAB? We can send and receive data on parallel port using MATLAB but can we do it with USB because we don't have parallel port in laptops?
Thanks in Advance
Abhineet

采纳的回答

Image Analyst
Image Analyst 2012-1-21
Yes you can. You need the Data Acquisition Toolbox. I use the devices by Measurement Computing Corporation.

更多回答(1 个)

Abhineet Mishra
Abhineet Mishra 2012-1-21
Thank You for your response Image Analyst. We can acquire data from all these ports but can we also send data to these ports?
  1 个评论
Image Analyst
Image Analyst 2012-1-21
Yes you can. You can read and write (i.e. set or detect) high and low voltages to the pins of the device. You can use it to light up LEDs, detect switch closures, turn on other devices (motors, etc.), digitize analog signals, etc.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Data Acquisition Toolbox Supported Hardware 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by