Main Content

Co-Simulation

Use numerical compensation and multicore solutions to support your Simulink® co-simulation applications

The Simulink platform supports co-simulation between components. In Simulink, co-simulation is between components with local solvers or involving simulation tools. For example, co-simulation can be an S-function implemented as a co-simulation gateway between Simulink and third-party tools or custom code, or an FMU in co-simulation mode imported to Simulink.

Blocks

FMUInclude Functional Mockup Unit (FMU) in model
S-FunctionInclude S-function in model

Functions

shareMATLABForFMUCoSimShare current MATLAB session for FMU tool-coupling co-simulation (Since R2019a)
Simulink.fmuexport.ExportSimulinkProjectToFMUExport project as Functional Mockup Unit (FMU)

Topics