Does Matlab supports socket can communication?
7 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Prajwal Sangam
am 11 Apr. 2023
Bearbeitet: Prasanth Sunkara
am 8 Nov. 2024
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.
0 Kommentare
Akzeptierte Antwort
Andrei
am 21 Nov. 2023
Bearbeitet: Andrei
am 21 Nov. 2023
SocketCAN devices are supported in Vehicle Network Toolbox since MATLAB R2023b on a supported Linux OS :
4 Kommentare
Andrei
am 5 Nov. 2024
William, Vehicle Network Toolbox supports SocketCAN Devices only on a Linux host machine. It doesn't support code generation for targets (such as Raspberry Pi).
Prasanth Sunkara
am 8 Nov. 2024
Bearbeitet: Prasanth Sunkara
am 8 Nov. 2024
Just to add more information here: You can use Simulink support package for Raspberry Pi to communicate with CAN devices using SocketCAN. You would need a MCP2515 based CAN shield on top of Raspberry Pi.
https://www.mathworks.com/help/simulink/supportpkg/raspberrypi_ref/transmit-receive-data-can-blocks.html
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Vehicle Network Toolbox finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

