Using the VeriStand Model Framework for Simulink
- Updated2025-04-08
- 1 minute(s) read
Using the VeriStand Model Framework for Simulink
Run Simulink models written in C/C++ with the VeriStand Model Framework.
Note The Simulink user interface differs between
versions of the software. For more information on how to implement the
following steps, refer to Simulink Coder in the Simulink
documentation.
- Launch Simulink and load the model you want to convert.
-
Configure the model parameters with the following settings.
- Stop time: inf
- Type: Fixed-step
- Generate the model code.
- Optional: If the model specifies any .c or .h files, include the locations of the source files and directories.
-
Based on your target’s operating system, select the correct TLC file and
compiler.
OS TLC File Compiler Windows NIVeriStand.tlc Microsoft Visual C++
Note NI recommends installing Microsoft Visual Studio 2017 with C++ Development option enabled.NI Linux Real-Time Intel x64-based targets NIVeriStand_Linux_64.tlc C/C++ Development Tools for NI Linux Real-Time, Eclipse Edition
- Build the model.
Related Information
- VeriStand Model Framework
The VeriStand Model Framework is used to design and compile models created in third-party modeling environments and C/C++.
- VeriStand Model Generation Support and MathWorks Simulink® Compatibility
- Simulink Coder
- Adding and Configuring a Model
Connect a model to other parts of the system and run the model on a hardware target.