Does Matlab supports socket can communication?
8 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Andrei
2023 年 11 月 21 日
編集済み: Andrei
2023 年 11 月 21 日
SocketCAN devices are supported in Vehicle Network Toolbox since MATLAB R2023b on a supported Linux OS :
4 件のコメント
Andrei
2024 年 11 月 5 日 14:33
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
2024 年 11 月 8 日 17:41
編集済み: Prasanth Sunkara
2024 年 11 月 8 日 17:42
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
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Vehicle Network Toolbox についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!