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

1 次查看(过去 30 天)
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

回答(1 个)

Astarag Chattopadhyay
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

类别

Help CenterFile Exchange 中查找有关 Instrument Connection and Communication 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by