Unpack ethernet data (TCP) using Simulink libraries
5 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I'm using the Raptor-Dev's model-based toolbox to recieve ethernet data using TCP and wanted to unpack the data to readable signals within the simulink model. I have an .arxml database which descibes the PDU's and signals being recieved. The longest PDU to be read is about 4960 bytes.
How can I unpack the data recieved using simulink libraries. Is there any specific toolbox that needs to be installed?
0 Kommentare
Antworten (1)
Shlok
am 6 Dez. 2024
Hi Abhishek,
I understand that you want to extract and interpret data described in an ARXML database as readable signals.
This can be achieved using the “CAN Unpack” block available in the Vehicle Network Toolbox. The “CAN Unpack” block extracts signal data from a CAN message based on specified output parameters at each time step, with the data being output as individual signals.
Tthe “CAN Unpack” block supports a broader range of ARXML file structures compared to DBC files, making it more suitable for handling generic ARXML files.
You can refer below for more information about ARXML file support for CAN blocks in the following documentation:
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!