Does anyone know how to convert a .blf file (Canalyzer) into matlab structure?

238 vues (au cours des 30 derniers jours)
Gabriela
Gabriela le 16 Déc 2014
Hi,
Does anyone know how to convert a .blf file (Canalyzer) into matlab structure?
Thank you in advance
  3 commentaires
Chong Wang
Chong Wang le 6 Juil 2023
use blfread function of Vehicle Network Toolbox.
Harry Maguire
Harry Maguire le 7 Déc 2023
Leverage MATLAB's CAN toolbox or tailored scripts to transform Canalyzer's .blf data into a structured format within MATLAB.

Connectez-vous pour commenter.

Réponses (6)

Tejas Sonavane
Tejas Sonavane le 30 Mai 2017
Here is answer to you question. This module is Called CanLoad and is created by Reid Steiger in Ford. I have attached the files you will need. Here is how it operates.
  • Unzip the folder contents
  • Put all the files that I have attached here in a folder.
  • Use dbc2ModuleBatch.p file to convert your .dbc files into these four files namely --> can_module_ext.mGetAsciiMessageFilterList.m , identify_DBC_Name.m , module_dbcname.m.
  • Place all the above newly files in the directory that contains the .blf files and add to the Matlab path.
  • Run CanLoad.p , this requires an input that is full name and path of the file.
  11 commentaires
sameulChukwezi
sameulChukwezi le 7 Août 2023
I have faced the same Issue.Please also guide me.
Jack Kallis
Jack Kallis le 20 Oct 2023
To convert a .blf file (Canalyzer) into a Matlab structure, use dedicated tools or scripts for BLF file parsing.

Connectez-vous pour commenter.


Rich Schupbach
Rich Schupbach le 10 Déc 2021
Modifié(e) : Rich Schupbach le 10 Déc 2021
I understand this response is coming much later than the question, but hopefully it will be useful to users searching the same topic in the future.
The blfread function of Vehicle Network Toolbox supports reading BLF-Files since R2019a.
Here is a link to documentation.
Hope this helps.
Thanks,
Rich

sameulChukwezi
sameulChukwezi le 7 Août 2023
I have face this as same issue.plz also guide me.

Chong Wang
Chong Wang le 7 Oct 2023
Hi, actually there is a tool to convert blf to mdf format inside CANalzyer. Then you can easily acess all signals using the Vehicle Network Toolbox or mdfVisualizer.

jakepit pitt
jakepit pitt le 14 Déc 2023
I have face this as same issue. can you please help me.

Steve
Steve le 5 Mar 2024
To convert a .blf file from CANalyzer into a MATLAB structure, you can use the "blfread" function in MATLAB's Vehicle Network Toolbox. This function reads a .blf file and returns its contents as a MATLAB structure, which you can then manipulate and analyze in MATLAB. Simply use the following syntax:
data = blfread('filename.public site');
Replace 'filename.blf' with the name of your .blf file. This will load the data into the MATLAB workspace as a structure named 'data', allowing you to access and process the contents as needed

Catégories

En savoir plus sur Vehicle Network Toolbox dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by