cantools is a set of libraries and command line tools for handling ASC, BLF, CLG, VSB, MDF, and DBC files from Vector-Informatik and others. The tools can be used to analyze and convert the data to other formats:
dbcls lists the contents of a DBC file.
cantomat converts log files in ASC, BLF, CLG, VSB format to a MAT
file (MATLAB format)
mdftomat converts log files in MDF format to a MAT file (up to MDF version 3.x)