Supported Model Types and Modeling Environments (Model Interface Toolkit)
- Updated2023-02-21
- 3 minute(s) read
Supported Model Types and Modeling Environments (Model Interface Toolkit)
The following table describes Model Interface Toolkit support for common types of models. The Model Interface Toolkit uses the VeriStand Model Framework to execute functions in your models, so supported models are those that are compatible with the framework.
Supported? | Model Type | Support Considerations | ||
---|---|---|---|---|
|
MathWorks Simulink® model compiled using MathWorks Real-Time Workshop®1 | Runs on the following target types in the specified compiled formats:
|
||
|
Uncompiled model from MathWorks Simulink software | You must compile these models before you can use them with the Model Interface API. | ||
|
C/C++ | Refer to the VeriStand Model Framework Introduction guide2 for information about creating and compiling C/C++ models that are compatible with the VeriStand Model Framework. | ||
|
LabVIEW VI compiled as a .lvmodel1 | Runs on Windows PCs. Also runs on Phar Lap ETS RT targets as long as the VI does not contain code with certain Windows function calls that the ETS real-time operating system does not support. | ||
|
LabVIEW VI compiled as a .lvmodelso1 | Runs on Linux x64 and Linux ARM.
|
||
|
Compiled models from other environments | Several modeling environments can build compiled models that work with the VeriStand Model Framework. | ||
|
Models compiled for use with the LabVIEW Simulation Interface Toolkit | You must recompile these models before you can use them with the Model Interface API. | ||
1 Refer to the following KnowledgeBase document at ni.com for a list of the versions of the LabVIEW, Windows, model compiler, and MathWorks software you can use with the Model Interface Toolkit: VeriStand Version Compatibility. 2 NI_VStand_Model_Framework_Guide.pdf in the RootDrive:\VeriStand\xxxx\ModelInterface\custom directory, where RootDrive is the drive where NI software installs and xxxx is the VeriStand version number. |
Related Links
Compiling a Model from MathWorks Simulink Software
Generating Compiled Models from VIs
Developer Zone: List of supported modeling environments
Simulink Model Compatibility
In the Simulink software, you can convert models that use only a fixed step-size ordinary differential equation (ODE) solver into compiled models. Additionally, you must turn off data logging in the Simulink application software. Refer to the Simulink documentation for information about using the Simulink application software to change the ODE solver of a model and turn off data logging.
Troubleshooting Missing Options in Modeling Environments
If features for compiling models, such as the NIVeriStand.tlc—NI Real-Time Target system target file in the Simulink software, are missing, ensure all required NI components are installed. The Model Interface Toolkit does not install features for compiling models. However, the components that install this support are available for installation from the same VeriStand DVD that contains the Model Interface Toolkit. More information.