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

조회 수: 2 (최근 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
Astarag Chattopadhyay 2017년 4월 6일
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