Using Models from MathWorks Simulink

Integrate MathWorks Simulink models with the Model Interface API by compiling them into supported formats for real-time targets.

You can use your model you created in MathWorks Simulink with the Model Interface API. However, first you must compile the model into one of the following formats:

  • .dll
  • .out
  • .so

Overview of Compiling Simulink Models

The following illustration shows the typical workflow for compiling and integrating a Simulink model in a LabVIEW Model Interface Toolkit application:

Green boxes (A green box representing a step in the Simulink model compilation workflow.) indicate that you must complete the step in the MathWorks. Blue boxes (A blue box representing a step in the Simulink model compilation workflow.) indicate that you must complete the step in LabVIEW.

Use Simulink to convert your model for use on real-time targets.

Depending on your version of MathWorks Simulink, use one of the following resources to compile your model:

Simulink Version Resource
R2017b to R2020b VeriStand Model Framework
R2020a and newer VeriStand Model Generation Support MATLAB Addon