MATLAB Answers

0

USB Interface using MATLAB

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

  0 Comments

Sign in to comment.

2 Answers

Image Analyst
Answer by Image Analyst
on 21 Jan 2012
 Accepted Answer

Yes you can. You need the Data Acquisition Toolbox. I use the devices by Measurement Computing Corporation.

  0 Comments

Sign in to comment.


Answer by Abhineet Mishra on 21 Jan 2012

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 Comment

Image Analyst
on 21 Jan 2012
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.

Sign in to comment.