Import von FMU
Verwenden eines Functional Mockup Unit (FMU)-Blocks zum Einbinden von Drittanbieter-Funktionen in Simulink®
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.
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 (Seit R2020b) |
fmudialog.createEnumType | Generate all enumeration classes required for FMU input or output ports (Seit R2020b) |
fmudialog.createTypeObject | Generates enumeration and bus objects required for FMU input or output ports (Seit R2020b) |
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.