Simulink FMU Builder

NEW PRODUCT
Simulink model of the Fuel Rate Control subsystem showing save and export options.

Generate FMUs from Simulink Models

Export Simulink models as standalone co-simulation or model exchange FMUs, choosing either the FMI 2.0 or FMI 3.0 standard. Each generated FMU includes a compiled shared library from your model, and you can also include C source code that has FMI-compliant interfaces.

Simulink “code to FMU” editor showing C code for an FMU with settings for states, inputs, outputs, and sample time.

Generate FMUs from C/C++ Code

Create standalone co-simulation or model exchange FMUs from existing C/C++ source code or external libraries, using the Code to FMU app or command-line APIs.

Diagram of three FMUs being combined by Simulink FMU Builder into one FMU file with three nested FMUs.

Package Nested FMUs

Simplify complex model integration by generating nested FMUs from models that already contain FMUs. Automatically bundle all inner FMU dependencies into a resources folder for easier distribution.

Simulink model showing a block diagram with an arrow pointing to an FMU file.

Generate FMUs for Virtual ECUs

Use Embedded Coder to generate production-grade FMUs from Simulink. Use the generated FMUs for closed-loop validation of virtual ECU (vECU) software with plant models in Simulink.

Simulink model showing a block diagram with an arrow pointing to an FMU file.

Generate FMUs with Variable-Step Solvers

Generate co-simulation FMUs for stiff or complex physical models that require variable-step solvers. Note: Deployment requires MATLAB Runtime.

FMU Builder Advanced settings screen showing options for capabilities, code generation platforms, and a description panel.

Use FMUs Across Platforms

Generate Linux binaries from Windows using Windows Subsystem for Linux (WSL). Import and simulate Linux-based FMUs in Simulink running on a Windows computer.