FMI Toolbox for MATLAB/Simulink

The Functional Mock-up Interface (FMI) is an open standard for model exchange and co-simulation of dynamic models on the system and component level. FMI addresses a critical pain point in model-based systems engineering: the ability to share models between tools, and to deploy models in an easy-to-use way to development engineers. FMI is supported by more than 60 commercial simulation tools.

The FMI Toolbox for MATLAB®/Simulink® and its Coder Add-on provide extensive support for FMI on the MATLAB®/Simulink® platform. FMI Toolbox supports all major workflows in control system development and system integration for virtual prototyping, from design and sizing to optimization and MIL/SIL/HIL validation & verification testing.

FMI defines the Functional Mock-up Unit (FMU) executable model format. FMUs may contain functional models like control algorithms as well as physical plant models. FMI thereby acts as a bridge to easily bring physical modeling technology such as Modelica into the MATLAB/Simulink environment. This enables the use of application and domain oriented off-the-shelf Modelica model libraries to accelerate the model-based development process by focusing engineering efforts on core product development activities rather than modeling tasks.

Key features

  • Import and export of Functional Mock-up Units (FMUs) in Simulink
  • Import and simulation of FMUs in MATLAB® scripts
  • 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
  • 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. 

Virtual Vehicle Kinematics and Compliance Test Rig

Read this blog to learn about accelerated and flexible vehicle development with virtual test runs using FMI Toolbox for MATLAB/ Simulink.

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
  4. Pannu, P., Andersson, C. et al., Coupling Model Exchange FMUs for Aggregated Simulation by Open Source Tools, Proceedings Modelica Conference 2015, September 21-23, 2015, Paris, France, pp.903-909.

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

User Guide