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

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개)

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).
Thanks
Shankar

카테고리

도움말 센터File Exchange에서 Simulink Coder에 대해 자세히 알아보기

질문:

2015년 5월 18일

댓글:

2017년 10월 11일

Community Treasure Hunt

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

Start Hunting!

Translated by