batch conversion of CANBUS logged data
batch conversion of CANBUS logged data
(OP)
Dear all,
I have tons of CANBUS logs that I have to analyse with Matlab. I have chosen Matlab since I can automate the post-processing. Unfortunately, Matlab seems to have a few limitations in the messages it can import so, in some cases, I have to use another SW for exporting .ASC/.BLF file into .MAT file. I usually use an old version of Vector CANAlyzer which it does not permit batch convert CANBUS logs (for batch conversion I mean the ability to select an entire folder and automatically convert it). Probably, a newer version will permit it, but it is too pricey for my use. Is there any other tool I can use for batch conversion of .ASC file into .MAT or any other file format that can be opened with Matlab? Any suggestion is appreciated.
Thank you.
Best regards,
Pietro
I have tons of CANBUS logs that I have to analyse with Matlab. I have chosen Matlab since I can automate the post-processing. Unfortunately, Matlab seems to have a few limitations in the messages it can import so, in some cases, I have to use another SW for exporting .ASC/.BLF file into .MAT file. I usually use an old version of Vector CANAlyzer which it does not permit batch convert CANBUS logs (for batch conversion I mean the ability to select an entire folder and automatically convert it). Probably, a newer version will permit it, but it is too pricey for my use. Is there any other tool I can use for batch conversion of .ASC file into .MAT or any other file format that can be opened with Matlab? Any suggestion is appreciated.
Thank you.
Best regards,
Pietro
RE: batch conversion of CANBUS logged data
https://maxwell.ict.griffith.edu.au/spl/matlab-pag...
"Most MATLAB users do not need to know the internal format of a MAT-file.
Even users who must read and write MAT-files from C and Fortran programs
do not need to know the MAT-file format if they use the MATLAB Application
Program Interface (API). This API shields users from dependence on the
details of the MAT-file format."
Jay
Jay Maechtlen
http://www.laserpubs.com/techcomm
RE: batch conversion of CANBUS logged data
It was pretty straightforward to have a batch Matlab script load the file, save a copy as the CSV, and then open the CSV's, do the data conversion and save as M files with all the data intact.
Was a little bit of a coding exercise, but if you don't have the right toolboxes I found it was possible to do this way.