MFeval

Contains the necessary functions to evaluate Magic Formula 5.2, 6.1 and 6.2 models from .tir files

https://mfeval.wordpress.com/

Download
Download

You are now following this Submission

Cite As

Marco Furlan (2026). MFeval (https://in.mathworks.com/matlabcentral/fileexchange/63618-mfeval), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

readTIR can read files that are delimited with Line Feed (LF) or Carriage Return (CR) and Line Feed (LF)
Radius calculation for MF6.2 compatible with the C code compiler

Download
4.3.0

◾ Warning in the Mx formulation if parameter sets QSX1 to QSX11 and QSX12 to QSX14 are non zero
◾ Fixed bug in the radius calculation using MF5.2
◾ Faster radius calculation for MF6.2 (secant method)
◾ Faster CPI Simulink model implementation

Download
4.2.0

See in the comments

Download
4.1.1

Fix small error on version number

Download
4.1.0

See the comments sections or the release notes on the documentation for more information

Download
4.0.0

MF-Tyre 5.2 equations have been implemented for backward compatibility

Download
3.0.0

MF-Tyre 6.2 equations have been implemented. In 6.2 the loaded radius model is improved with camber dependencies. See the documentation for more information

Download
2.3.0

Slip stiffness (Kxk) is now output number 30
In STI vertical damping forces only actuate if the tire is in contact with the road
In STI the Slip Angle calculation has been updated to use the transformation matrix

Download
2.2.1

Road friction can be passed as input to STI and CPI interfaces
Unnecessary zero crossing detection have been disabled
Fx and Fy filters moved to reside inside Switch dynamics mode
In Mz calculation, Gyk_sub0 is now calculated after Fyo_sub0

Download
2.2.0

Road position implemented in STI
Road velocity implemented in STI
Some MATLAB Function blocks have been replaced with inbuilt Simulink blocks
The switch case to select the dynamics mode in CPI is done upstream to avoid unnecessary calculations
...

Download
2.1.1

◾ Simulink Library updated to work with variable solvers.
◾ Simulink memory blocks have been replaced with low pass filters with a pass band frequency of 15 Hz
◾ coefficientCheck inputs have been updated to be compatible with MFit

Download
2.1.0

Simulink Library updated to be more robust and consistent (STI interface depends on CPI interface)
All Simulink blocks and demos are saved in MATLAB 2017b
Advance user guide completed: including a demo showing how to fit a model

Download
1.4.0

Download