USB Interface using MATLAB

3 views (last 30 days)
Abhineet Mishra
Abhineet Mishra on 21 Jan 2012
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

Accepted Answer

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

More Answers (1)

Abhineet Mishra
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
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.

Categories

Find more on Data Acquisition Toolbox Supported Hardware in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!