主要内容

Export Simulink Model as Standalone FMU

Generate co-simulation and model exchange FMU 2.0 or 3.0 from Simulink models

Export a Simulink model as a Functional Mockup Unit (FMU) compatible with FMI 2.0 or 3.0 standards. Set up the model with required interface, tunable parameters, internal variables, and enable cross-platform compilation and simulation. Use the FMU Builder wizard or command-line functions to define the FMU specifications. Generate FMUs for either co-simulation or model exchange. Customize the FMU package by specifying its contents to suit your deployment needs.

To import your existing FMUs into Simulink, see Import FMUs.

Functions

exportToFMUExport Simulink model to functional mock-up unit (FMU) (Since R2023b)
Simulink.fmuexport.GetExportableVariableListGet the list of exportable inputs, outputs, parameters, and internal variables for a model that is to be exported as an FMU

Topics

Export Model as FMU

Generate FMU with Tunable Parameters and Internal Variables

Generate Cross-Platform FMUs

Advanced Simulation Configurations

Featured Examples