How to unpack full J1939 messages in Simulink, like CAN Unpack?

9 次查看(过去 30 天)
I am building an application that will use handwritten C++ code combined with autogenerated code from Simulink. I'm hoping to be able to do all the necessary CAN packing/unpacking within Simulink, but some of my hardware devices use J1939. Is there a way, similar to the CAN pack/unpack blocks, to pack/unpack full J1939 messages? Basically, I'd like the J1939 Receive/Transmit blocks to be able to take an input from external code where I will perform the actual J1939 receive.
  3 个评论
Alex
Alex 2025-1-7
Unfortunately the block is not compatible with the hardware I am deploying code to. From that page:
"The J1939 communication blocks also support code generation that have limited deployment capabilities"

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Development Computer Setup 的更多信息

产品


版本

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by