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

11 visualizzazioni (ultimi 30 giorni)
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 Commenti
Alex
Alex il 7 Gen 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"

Accedi per commentare.

Risposte (0)

Prodotti


Release

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by