Using Raspberry Pi as Hardware for Vehicle Network Toolbox

I just stumpled over the Vehicle Network Toolbox and it's great!! :) I am working on a project in which I want to use the Raspberry Pi as an Interface between Matlab/Simulink and a Car. I want the communication to be based on CAN. I already successfully installed the Raspberry Pi support packages for Matlab and Simulink. I am considering to use the PiCAN2 Duo as additional hardware to make the Raspberry Pi be capable of the CAN protocol: http://skpang.co.uk/catalog/pican2-duo-canbus-board-for-raspberry-pi-23-p-1480.html
My actual question is: Is it possible to use the Raspberry Pi Support Packages in combination with the Vehicle Network Toolbox ? So that the Raspberry Pi is somewhat seen by Matlab as the CAN-Hardware of the VNT.
Thanks you and all the best, Jakob from Berlin

3 件のコメント

Christian Sauerbrey
Christian Sauerbrey 2017 年 11 月 24 日
Did you get an answer to your question? I want to do the same, for example, a communication between the Raspberry Pi 3 + PiCAN2-Shield (Skpang) and Matlab/Simulink. And use the normal CAN-Communication Blocks from Simulink.
I hope for a positive response.
Thank you Christian
srikanth balla
srikanth balla 2018 年 12 月 17 日
Hi,
Did you get solution for your question? please let me know if you are having any solution for CAN FD-Communication Blocks from Simulink.
Thanks
Srikanth
Shekhar patil
Shekhar patil 2020 年 6 月 8 日
Hi,
Did you figure out the answer for your question?
I am looking for similiar results in my thesis.
Thanks

サインインしてコメントする。

回答 (1 件)

Stefanie Schwarz
Stefanie Schwarz 2021 年 9 月 23 日
編集済み: Stefanie Schwarz 2021 年 10 月 11 日

0 投票

Starting from R2021b, you can use the MATLAB Support Package for Raspberry Pi Hardware to read and write CAN messages from the CAN network on Raspberry Pi hardware using "canChannel":
The example mentions that this should work for the PiCAN2 DUO shield.
When used with Raspi, this function does not even require a Vehicle Network Toolbox (VNT) license.

質問済み:

2016 年 11 月 7 日

編集済み:

2021 年 10 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by