Include Functional Mockup Unit (FMU) in model
Simulink Extras / FMU Import
The FMU block imports existing functional mockup units (FMUs) into Simulink®. The block automatically selects an FMU mode based on the existing FMU you want to import:
Co-Simulation
— Integrate FMUs that implement a
Functional Mock-up Interface (FMI) Co-Simulation interface. These FMUs may
contain local solvers that are used for tool coupling.
Model Exchange
— Integrate FMUs that implement an
FMI Model Exchange interface. These FMUs do not contain local solvers. Instead,
they inherit solvers from Simulink.
This block supports FMI versions 1.0 and 2.0. For FMI version 2.0, if your FMU contains both Co-Simulation and Model Exchange elements, the block detects them and prompts you to select the mode you want the block to operate in.
To use this block, you must first have an existing FMU, exported from another tool, or authored in C language.