Does Matlab supports socket can communication?

8 views (last 30 days)
Prajwal Sangam
Prajwal Sangam on 11 Apr 2023
Edited: Andrei on 21 Nov 2023
I am using CAN device from CANable vendor, I have installed vehicle network toolbox, but it seems it doesnt support CAN device from CANable vendor. I was using can module in python before, is there anything similar to socket can in MATLAB which works with any of the CAN device.

Answers (2)

Surya
Surya on 18 Apr 2023
Hi,
MATLAB provides a way to communicate with CAN devices through the Vehicle Network Toolbox. However, the supported hardware list for the Vehicle Network Toolbox is limited to specific hardware vendors and models, and may not include all devices, including the CANable device you are using. check
If the Vehicle Network Toolbox does not support your specific CAN device, you may need to use a different approach in MATLAB to communicate with the CANable device. One possible approach is to use the MATLAB Instrument Control Toolbox, which provides functionality for communicating with external instruments and devices using standard communication protocols, such as TCP/IP, UDP, and serial communication.
Hope It helps.

Andrei
Andrei on 21 Nov 2023
Edited: Andrei on 21 Nov 2023

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!