load_ifile(filename​,offset_correction)

Version 3.0 (9.79 KB) by Ben Brown
Allows MATLAB to load internal combustion engine pressure data stored in the AVL I-File format
1.8K Downloads
Updated 13 Oct 2021

View License

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 (2024). load_ifile(filename,offset_correction) (https://www.mathworks.com/matlabcentral/fileexchange/31709-load_ifile-filename-offset_correction), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2020a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
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