Import CAN Message from (.blf) format file into Simulink Model using Vehicle Network Toolbox

20 次查看(过去 30 天)
Hello there,
I have to define the Signals from Chassis CAN Logging (.dbc) format file and import their values from Chassis CAN Logging (.blf ) format file as CAN message (inputs) into my Simulink_Model.
I have the following files:
  1. (.dbc) file (included the signals descriptions of the vehicle Chassis)
  2. (.blf) file (included the signals values of the vehicle Chassis)
  3. My (.slx) Simulink_Model (with Longitudinal speed, Yaw rate, Steering wheel angle, …..etc as inputs )
In Simulink using Vehicle Network Toolbox, I used:
  1. CAN config block
  2. CAN Receive block
  3. CAN Unpack block
In command window in MATLAB I tried to read (.blf) file and filter the signals to import a message CAN to the Simulink_Model as described in this link https://de.mathworks.com/help/vnt/ug/blfread.html and https://de.mathworks.com/help/vnt/ug/load-dbc-files-and-create-messages.html, but It does not work.
How I could import the Message (Signal values) from (.blf) file into Simulink?
Any help is appreciated.

回答(1 个)

Arjunkrishna Mitta
Arjunkrishna Mitta 2021-2-10
Kindly refer this link to repackage your messages.

类别

Help CenterFile Exchange 中查找有关 Vehicle Network Toolbox 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by