Main Content
canFDMessageReplayBlockStruct
Convert CAN FD messages for use as CAN Replay block output
Description
formats the specified CAN FD messages for use with the CAN FD Replay block. The CAN FD
Replay block requires a specific format for CAN FD messages, defined by a structure of
arrays containing the ID, Extended, Data, and other message elements.msgstructofarrays
= canFDMessageReplayBlockStruct(msgs
)
Use this function to assign the formatted message structure to a variable. Then save that variable to a MAT-file. The CAN FD Replay block mask allows selection of this MAT file and the variable within it, to replay the messages in a Simulink® model.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2018b