From 12:00 AM CDT Sunday, October 17 - 11:30 AM CDT Sunday, October 17, will be undergoing system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Table Of Contents

Conversion Process for Models from MathWorks Simulink® Software

Last Modified: November 16, 2020

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