How to include "CAN_MESSAGE" data type into s-function created using s-function builder?
Mostrar comentarios más antiguos
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
Respuestas (1)
Shankar Subramanian
el 27 de Mayo de 2015
0 votos
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
1 comentario
Birdman
el 11 de Oct. de 2017
What if I have to write a C S-function? What would you suggest me to do?
Categorías
Más información sobre Simulink Coder en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!