How to unpack full J1939 messages in Simulink, like CAN Unpack?
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.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. 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. j1939, can, simulink, c++ MATLAB Answers — New Questions