How to include "CAN_MESSAGE" data type into s-function created using s-function builder?

8 ビュー (過去 30 日間)
Gaurav Kumar Sahani
Gaurav Kumar Sahani 2015 年 5 月 18 日
コメント済み: Birdman 2017 年 10 月 11 日
I have s-functions created using s function builder which needs to send/receive using CAN Pack/Unpack blocks provided by Vehicle Network Toolbox and Embedded Coder. I need to include the "CAN_MESSAGE" data type within the s function to use it. How can I include this data type or how can I use these CAN Pack/Unpack blocks?
Thanks in advance

回答 (1 件)

Shankar Subramanian
Shankar Subramanian 2015 年 5 月 27 日
Hi Gaurav,
Do you have the Vehicle Network Toolbox? If so, you should be able to create custom blocks (write C++ S-functions) seeing the following link( Creating Custom Blocks).
  1 件のコメント
Birdman 2017 年 10 月 11 日
What if I have to write a C S-function? What would you suggest me to do?



Help Center および File ExchangeVehicle Network Toolbox についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by