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

10 views (last 30 days)
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 Comments
Alex
Alex on 7 Jan 2025
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"

Sign in to comment.

Answers (0)

Products


Release

R2024b

Community Treasure Hunt

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

Start Hunting!