FMU Importing
Use a functional mockup unit (FMU) block to bring third-party functionality
into Simulink®
The FMU block lets you import your applications, contained in FMUs, into Simulink. This block has two modes to integrate FMUs that implement:
An FMI co-simulation interface. These FMUs contain local solvers.
An FMI model exchange interface. These FMUs do not contain local solvers.
Blocks
FMU | Include Functional Mockup Unit (FMU) in model |
Functions
fmudialog.compileFMUSources | Generate binary for FMU with source code on current platform (Since R2024a) |
fmudialog.createBusType | Create all FMU bus objects required for structured input or output ports in workspace (Since R2020b) |
fmudialog.createEnumType | Generate all enumeration classes required for FMU input or output ports (Since R2020b) |
fmudialog.createTypeObject | Generates enumeration and bus objects required for FMU input or output ports (Since R2020b) |
Topics
- Import FMUs
Import your FMU to Simulink.
- Implement an FMU Block
Implement a block in Simulink using your FMU.
- FMU Block Calling Sequences
Review calling sequences for Co-Simulation and Model Exchange FMU blocks.
- Debug FMU with Source Code Using External Debugger
Launch external debugger from Simulink to debug FMU with source code.
- Simulate FMU with Linux Binary on Windows (Simulink Compiler)
Simulate standalone cosimulation FMU 2.0 with Linux® binary on Windows®