Table Of Contents

Conversion Process for Models from MathWorks Simulink® Software

Last Modified: March 24, 2021

Before you can run a Simulink model on a real-time target, it must be converted into a compiled model.

The following image depicts the Simulink conversion process at a high level.

Steps of the Simulink Conversion Process

The Simulink software performs the following steps when you compile a model:
  1. The MathWorks, Inc. Real-Time Workshop® software converts your model and any submodels into a C/C++ code version of the same model.
  2. A compiler, Microsoft Visual C++, or the Wind River GNU Toolchain, compiles the C/C++ code model into a file named ModelName.dll, ModelName.out, or, where ModelName is the name of the model.
  3. The Real-Time Workshop software places the compiled model file in one of the following directories located in the current working directory:
    RTOS Directory
    Phar Lap ETS <ModelName>_NIVeriStand_rtw
    NI Linux Real-Time <ModelName>_NIVeriStand_Linux_ARM_32_rtw



    A text file, <ModelName>_portsReadme.txt, is also generated, which specifies the lengths and positions of all model inport and outport array data.

Recently Viewed Topics