FMI Toolbox for MATLAB/Simulink

Modelon's FMI Toolbox for MATLAB/Simulink 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. The additional FMI Toolbox Coder Add-on provides extensive support enabling users to export FMUs from Simulink and import FMUs to a Simulink Coder target.

Key capabilities and features related to the latest version of the FMI Toolbox are below.

Import FMUs into Simulink
• Integrate simulation models from more than 80 tools into your Simulink workflow
• Simulink FMU block including a flexible and intuitive graphical interface to; set parameters, select block outputs, set simulation options, add icon, and create Simulink buses for inputs and outputs to manage FMUs with many signals
• Automate workflow by accessing FMU block settings through scripting

Requirements: Matlab and Simulink
Import FMUs into MATLAB Scripts
• Scripting simulations of FMUs in Matlab via APIs
• Intuitive interface that connects FMUs to MATLAB ode solvers
• Create custom solutions for simulating and analyzing FMU models
• Model Exchange FMU analysis functions, including: linearization computing from input to output, steady-state computation, and design space exploration through DoE functions

Requirements: Matlab

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