How can I have an USB interface into MATLAB program for SPC-5CONNECT (CAN to USB convertor from ST Microelectronics) ?

1 view (last 30 days)
We wish to connect a device over a CAN bus. Then using the SPC-5CONNECT (CAN to USB convertor from ST Microelectronics), we want to get the data over an USB interface real-time into a MATLAB program.
Please suggest methods.
Regards, Dr Shishir Sahay +91 98233 00935 shishir.sahay@tcs.com

Answers (1)

Astarag Chattopadhyay
Astarag Chattopadhyay on 6 Apr 2017
Hi,
You may want to use Instrument Control Toolbox for getting the data from the USB interface. The toolbox provides a graphical tool that allows you to configure,control, and acquire data from your serial device without writing code.The tool automatically generates MATLAB code that allows you to reuse your work. Type "tmtool" at the MATLAB command line to launch this tool.
Here are some links that may help you to explore more:
1. This link provides options to get data from USB devices using Instrument Control Toolbox:
https://in.mathworks.com/products/instrument/supported/serial.html
2. This link discusses different options to connect USB devices to MATLAB:
https://in.mathworks.com/products/instrument/supported/usb.html

Categories

Find more on Instrument Control 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!