Converting AVL IFile data to MATLAB

Converting AVL IFile data to MATLAB
catool can be used to convert raw combustion data in AVL IFile format for later analysis in The MathWorks' MATLAB.

The following configuration file will load an AVL IFile (avl_ifile.001) and output a MATLAB file (avl_ifile.mat).

catool can perform the relative to absolute pressure correction using the polytropic indices and crank angle range specified in the AVL IFile. To do this uncomment the three lines (channel-offset, analyse and run-analysis).

input-file-type AVL_IFILE

input-file avl_ifile.001
load-channels all

load-file

; Uncomment the following three lines to allow catool to perform absolute pressure correction
; channel-offset offset_type IFILE
; analyse none
; run-analysis

output-file avl_ifile.mat
output-data CA_RAW
output-file-type MATLAB
output

Step-by-step:

1) Copy the above configuration into a configuration file called avl_matlab.ccf. You will need to change the input and output file names to suit your data.

2) Run catool: catool avl_matlab.ccf.

3) Load the data: (at MATLAB prompt) load avl_ifile.mat

4) Plot the data: (at MATLAB prompt) plot(CYLPR1.axis,CYLPR1.data)