Import CAN Message from (.blf) format file into Simulink Model using Vehicle Network Toolbox
18 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Mahmoud Alsheikh Shawa
el 12 de Ag. de 2020
Respondida: Arjunkrishna Mitta
el 10 de Feb. de 2021
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 comentarios
Respuestas (1)
Arjunkrishna Mitta
el 10 de Feb. de 2021
Kindly refer this link to repackage your messages.
0 comentarios
Ver también
Categorías
Más información sobre Vehicle Network Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!