Import CAN Message from (.blf) format file into Simulink Model using Vehicle Network Toolbox
20 views (last 30 days)
Show older comments
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:
- (.dbc) file (included the signals descriptions of the vehicle Chassis)
- (.blf) file (included the signals values of the vehicle Chassis)
- My (.slx) Simulink_Model (with Longitudinal speed, Yaw rate, Steering wheel angle, …..etc as inputs )
In Simulink using Vehicle Network Toolbox, I used:
- CAN config block
- CAN Receive block
- 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.
0 Comments
Answers (1)
See Also
Categories
Find more on Vehicle Network Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!