Supported Model Types and Modeling Environments

The following table describes Model Interface Toolkit support for common types of models.

Table 2.
Supported? Model Type Support Considerations
MathWorks Simulink® model compiled using Simulink Coder and VeriStand Model Generation Support Runs on the following target types in the specified compiled formats:
  • Windows PC—.vsmodel
  • NI Linux Real-Time targets—.vsmodel
Legacy MathWorks Simulink® model compiled using Model Framework

Runs on the following target types in the specified compiled formats:

  • Windows PC—DLL
  • NI Linux Real-Time targets—.so
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.
FMU3

Models conforming to FMI standard can be loaded in Model Interface Toolkit.

Runs on the following target types in the specified compiled formats:

  • Windows PC—.fmu
  • NI Linux Real-Time targets—.fmu
LabVIEW VI compiled as a .lvmodel1 Runs on Windows PCs.
LabVIEW VI compiled as a .lvmodelso1 Runs on Linux x64.
Note   You must install additional software to enable LabVIEW models for targets running a Linux Real-Time OS. For more information about how to use LabVIEW models with Linux, visit the NI website. The Model Interface Toolkit is not supported on x64 Intel-based cDAQ controllers running NI Linux Real-Time.
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.

3Refer to following document for FMI support and limitations[https://www.ni.com/docs/en-US/bundle/veristand/page/fmi.html]

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.