Import von FMU
Mithilfe des FMU-Blocks können Sie Ihre in FMUs enthaltenen Anwendungen in Simulink importieren. Dieser Block verfügt über zwei Modi zur Integration von FMUs, die Folgendes implementieren:
Eine FMI Co-Simulation Schnittstelle. Diese FMUs enthalten lokale Solver.
Eine Schnittstelle für den Austausch von FMI-Modellen. Diese FMUs enthalten keine lokalen Solver.
Informationen zum Exportieren Ihrer vorhandenen Simulink-Modelle als FMU finden Sie unter Create Standalone FMU (Simulink Compiler).
Blöcke
FMU | Include Functional Mockup Unit (FMU) in model |
Funktionen
fmudialog.compileFMUSources | Generate binary for FMU with source code on current platform (Seit R2024a) |
fmudialog.createBusType | Create all FMU bus objects required for structured input or output ports in workspace |
fmudialog.createEnumType | Generate all enumeration classes required for FMU input or output ports |
fmudialog.createTypeObject | Generates enumeration and bus objects required for FMU input or output ports |
Themen
- 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®.