load_ifile(filename​,offset_correction)

Allows MATLAB to load internal combustion engine pressure data stored in the AVL I-File format

https://catool.org

You are now following this Submission

catool can be used to convert raw combustion data in AVL IFile format for later analysis in The MathWorks' MATLAB or GNU Octave.
Step-by-step:
1) Create a directory to store the catool files such as 'C:\Users\Your Username\Documents\MATLAB\catool'.
2) Copy the load_ifile.m script to the above directory.
3) Add the above path: (at MATLAB prompt) addpath('C:\Users\Your Username\Documents\MATLAB\catool')
4) Load the data: (at MATLAB prompt) ifile = load_ifile('avl_ifile.001')
5) Plot the data: (at MATLAB prompt) plot(ifile.CYLPR1.axis,ifile.CYLPR1.data)

Cite As

Ben Brown (2026). load_ifile(filename,offset_correction) (https://www.mathworks.com/matlabcentral/fileexchange/31709-load_ifile-filename-offset_correction), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
3.1

Updated to support encoding support

3.0

Automatically decompresses IFile if Zip compression is enabled in IndiCom
Corrected version number

2.23

Automatically decompresses IFile if Zip compression is enabled in IndiCom

2.2

Auto downloads catool binary for PC, Mac and Linux from catool.org

2.0.1

Instructions updated

2.0

1. It will download latest catool.exe if necessary the first time the script runs
2. Only creates command window output if an error occurs

1.5.0.0

1. If not specified, the default is now to perform offset correction
2. Fixed an issue where the temporary directory was not found if it contained spaces, i.e. due to the Windows username

1.4.0.0

Remove debugging information from MATLAB display

1.3.0.0

Supports latest version of catool

1.2.0.0

Latest version from www.catool.org

1.1.0.0

Latest version from www.catool.org

1.0.0.0