FMU 导入
使用功能模型单元 (FMU) 模块将第三方功能集成到 Simulink® 中
FMU 模块允许您将 FMU 中包含的应用程序导入 Simulink 中。该模块有两种模式,分别用于集成实现以下接口的 FMU:
FMI 联合仿真接口。这些 FMU 包含局部求解器。
FMI 模型交换接口。这些 FMU 不包含局部求解器,
有关将现有 Simulink 模型导出为 FMU 的信息,请参阅Create Standalone FMU (Simulink Compiler)。
模块
FMU | 在模型中包含功能模型单元(FMU) |
函数
fmudialog.compileFMUSources | Generate binary for FMU with source code on current platform (自 R2024a 起) |
fmudialog.createBusType | 创建工作区中结构化输入或输出端口所需的所有 FMU 总线对象 |
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 |
主题
- 导入 FMU
将您的 FMU 导入 Simulink。
- 实现 FMU 模块
使用您的 FMU 在 Simulink 中实现模块。
- 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®.