USB Interface using MATLAB

3 visualizzazioni (ultimi 30 giorni)
Abhineet Mishra
Abhineet Mishra il 21 Gen 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

Risposta accettata

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

Più risposte (1)

Abhineet Mishra
Abhineet Mishra il 21 Gen 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 Commento
Image Analyst
Image Analyst il 21 Gen 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.

Accedi per commentare.

Categorie

Scopri di più su Data Acquisition Toolbox Supported Hardware in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by