Home | Using Matlab for Racer car behavior analysis. |
|
INTRODUCTION
Mat2Log can convert Matlab files (normally generated by Log2Mat) to the Racer log format. Matlab v5 files are supported. Matlab is a commercial tool which is often used in the engineer field to solve technical problems in a mathematical environment, and can be put to use when analyzing Racer car behavior. Between Mat2Log and Log2Mat, the latter is probably more useful, converting Racer log files into Matlab files (for analysis in Matlab). However, it may be helpful to convert the binary Matlab files into simple ASCII text files.
DOWNLOAD
Download the Log2Mat tool by clicking on this line. (840Kb, 1-Mar-2007)
Note the zip file contains 2 tools; a converter from Racer Log to Matlab, and a converter from Matlab to Racer Log. See also the page on Log2Mat.
USAGE
The usage is quite simple; take a Matlab .m file and convert it into a log file. Place the mat2log.exe file somewhere in your computer's path (i.e. c:\windows, or the directory of the Matlab file itself).
Then type:
mat2log mymatlabfile.mat mylogfile.log
Then open the mylogfile.log file with a simple editor such as Notepad or Wordpad.
ISSUES
This converter was written specifically with Racer in mind. It can probably convert a bunch of other .mat files to ASCII as well. I haven't tested that. If you have problems with some files, let me know and I can have a look whether it would be interesting to support additional export possibilities.
SEE ALSO
The operation the other way round is probably more interesting. See Log2Mat on how to convert Racer-generated Log files into Matlab .mat files.
(last updated November 13, 2012 )