Borrar filtros
Borrar filtros

How to approach unpacking *condensed* CAN messages in Simulink?

1 visualización (últimos 30 días)
B. Kranenburg
B. Kranenburg el 3 de Oct. de 2018
I'm using Simulink for analysing a CAN bus, but i'm not sure how to approach unpack so-called condensed CAN messages. There is a block for unpacking normal CAN messages in the Vehicle Network Toolbox, but this doesn't apply in my case with condensed messages.
The image shows (albeit simplified) how the messages are composed. Byte 1 indicates in which context(rows) the message must be interpreted. Byte 2 and 3 are used for actual data; to configure settings or receive values of eg. analog inputs.
The CAN unpack block can separate the bytes in a CAN message, but doesn't account for their context. How can I best approach that? I've got the academic license, so I have access to (almost?) all toolboxes if necessary.

Respuestas (0)

Categorías

Más información sobre Vehicle Network Toolbox en Help Center y File Exchange.

Productos


Versión

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by