CPU Model Execution

National Instruments (NI) natively supports the execution of compiled MATLAB/Simulink models on multicore CPU targets through NI VeriStand. By installing the VeriStand Model Generation Support add-on models created in Simulink are compiled directly into C/C++ shared libraries (such as .so files configured for NI Linux Real-Time targets). These compiled models deploy onto standard real-time processor hardware—including PXIe real-time controllers and CompactRIO (cRIO) systems—enabling the integration of plant models, signal processing algorithms, and control logic without requiring manual C-code translation.

Before compiling the models, few steps need to be implemented to make sure the model is ready to be executed by the NI platform and those are:

  • Model preparation
    • Discretization
    • 3rd party components
    • Partitioning
    • Harnessing
  • Environment preparation
    • Compiler setup
    • Model compilation
    • Model import

Table of contents