FMI Toolbox for MATLAB/Simulink

High-fidelity physical models are key components in developing control systems.

The FMI Toolbox for MATLAB®/Simulink® links FMI-compliant tools - including Dymola, AMESim, SimulationX and others - to the MATLAB®/Simulink® environment.

It offers an intuitive workflow for combining physical models on a system-level.  Users can easily load and access FMUs from command-line and MATLAB scripts. There is also a blockset for using FMUs in Simulink.


  • Import and export of Functional Mock-up Units (FMUs) in Simulink
  • Simulink block-set supporting code generation with Simulink Coder for HIL simulation on dSPACE DS1006 systems
  • Simulink Coder target for exporting Simulink models as FMUs
  • Import and simulation of FMUs in MATLAB® scripts
  • Static and dynamic analysis of FMUs through design-of-experiments (DoE) functions for optimization, calibration, control design, and robustness analysis.
  • Support for FMI for Model Exchange 1.0 and 2.0
  • Support for FMI for Co-Simulation 1.0 and 2.0

Product Partner of MathWorks

With the FMI Toolbox for MATLAB® and Simulink®, Modelon is a product partner of The MathWorks Connections Program. The program keeps partners updated with new product releases and helps guarantee a high-quality solution that adheres to the standards set by the MathWorks product line.

dSPACE DS1006 Support

The FMI Toolbox for MATLAB® and Simulink® supports HIL simulation on dSPACE DS1006 systems. The Simulink block-set offered for FMU simulation is compliant with Simulink Coder and integrates seamlessly with the targets provided for HIL simulation on dSPACE DS1006 systems.

The FMU Simulink user interface allows setting of parameter values and start values
The FMI Toolbox enables flexible configuration of outputs of an FMU block

The FMI Toolbox for MATLAB®/Simulink® is used for batch simulation processing, design of experiments (DoE), control design, design validation, and verification analysis. It can be used effectively in a wide range of application domains, including mechanics, electronics and thermodynamics.

FMI Toolbox in combination with Simulink Coder™ enables users to generate FMUs from Simulink and perform hardware in the loop (HIL) simulations on dSPACE DS1006 systems. It also allows Modelica models to be used in combination with Simscape® blocks. 

An FMI-based tool for robust design of dynamical systems

(Presentation from Modelica Conference 2014)

Concepts from quality sciences, such as robust design, six-sigma, and design-of-experiments have had a large impact on product development in industry. These concepts are increasingly used in a model-based engineering context where data is gathered from simulation models rather than laboratory setups or prototypes.

This work presents a framework to apply such ideas to analysis of dynamical systems. A set of tools available in the FMI Toolbox for MATLAB/Simulink that can be used for uncertainty analysis of dynamical Modelica models is presented. The workflow and tools are demonstrated on a cooling loop design problem.

Model-Based Integration for FMI Co-Simulation and Heterogeneous Simulations of Cyber-Physical Systems

(Presentation from Modelica Conference 2014)

Virtual evaluation of complex Cyber-Physical Systems with a number of tightly integrated domains such as physical, mechanical, electrical, thermal, cyber, etc. demand the use of heterogeneous simulation environments.

Recently, a great interest has developed to use Functional Mock-up Interface  for a variety of dynamics simulation packages, particularly in the automotive industry. Leveraging the C2WT effort on effective integration of different simulation engines with different Models of Computation, we propose, in this paper, to use the proven methods of High-Level Architecture -based model and system integration.

  1. Edo Drenth, Mikael Törmänen, Krister Johansson, Bengt-Arne Andersson,Daniel Andersson, Ivar Torstensson, Johan Åkesson, Consistent Simulation Environment with FMI based Tool Chain, Proceedings Modelica Conference 2014, March 10-12, 2014, Lund, Sweden, pp.1277-1283.
  2. Maria Henningsson, Johan Åkesson, Hubertus Tummescheit, An FMI-Based Tool for Robust Design of Dynamical Systems, Proceedings Modelica Conference 2014, March 10-12, 2014, Lund, Sweden, pp.35-42
  3. Himanshu Neema, Jesse Gohl, Zsolt Lattmann, Janos Sztipanovits, Gabor Karsai, Sandeep Neema, Ted Bapty, John Batteh, Hubertus Tummescheit and Chandrasekar Sureshkumar, Model-Based Integration Platform for FMI Co-Simulation and Heterogeneous Simulations of Cyber-Physical Systems, Proceedings Modelica Conference 2014, March 10-12, 2014, Lund, Sweden, pp.235-245

FMI Toolbox for MATLAB is a product of Modelon and is distributed by Modelon and partners worldwide.

  How can we help you?

Download Demo Now

We chose the FMI Toolbox for MATLAB/Simulink from Modelon, because it has been proven as the most flexible tool in our tests.

LuK GmbH & Co. KG

Product Sheet 

Release Information

Supported Tools

User Guide