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

조회 수: 1 (최근 30일)
B. Kranenburg
B. Kranenburg 2018년 10월 3일
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.

답변 (0개)

카테고리

Help CenterFile Exchange에서 Vehicle Network Toolbox에 대해 자세히 알아보기

제품


릴리스

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by