Setting up The Mathworks, Inc. MATLAB® to Create a VeriStand or Model Interface Toolkit Compatible DLL

Updated Nov 7, 2019

Reported In


  • VeriStand
  • LabVIEW Model Interface Toolkit for VeriStand

Issue Details

  • I am trying to compile my Mathworks, Inc. Simulink® dll for NI VeriStand
  • Compiling dll for Model Interface Toolkit
  • Compiling dll for NI Modeling products


System Requirements
Version compatibility information for NI VeriStand and the Model Interface Toolkit including supported compilers can be found in NI VeriStand Version Compatibility and in the NI VeriStand readme files. The NI VeriStand readme file can be found on a computer with an installation of NI VeriStand typically at C:\Program Files (x86)\National Instruments\VeriStand <version>\readme\readme.html, or online at NI Manuals. Learn more about accessing NI readmes in the article titled Finding NI Readmes for Supported OS, ADE, Device, Modules and More

Software Setup
The process to set-up the MATLAB® software to create a NI VeriStand or Model Interface Toolkit compatible DLL will depend on the version of NI VeriStand installed on the system. Please select the appropriate NI VeriStand version to configure the compatible compilers. For NI VeriStand, complete the appropriate steps for your version to set up MATLAB® software to create an NI VeriStand-compatible DLL. For the Model Interface Toolkit, you can follow the same steps as NI VeriStand.

VeriStand 2013 SP1 or newer:
  1. Install a NI VeriStand compatible version of MATLAB®, Simulink®, and Real-Time Workshop® onto your machine. Compatibility information can be found in NI VeriStand Version Compatiblity.
  2. If you do not already have an NI VeriStand and LabVIEW Real-Time compatible compiler:
  • Download the Windows SDK for Windows 7 and .NET Framework 4.0. You will need the Windows 7 SDK even if you're on a Windows 10 computer.
  • Run the installer and select the following,​
    • Windows Headers and Libraries
    • Windows Native Code Development Tools
    • Intellisense and Reference Assemblies
    • Visual C++ Compilers
    • Microsoft Visual C++ 2010
  1. Install NI VeriStand from an installer disc or download the installer. Please ensure that the NI VeriStand Model Framework is selected to install
Note: If you are only using LabVIEW and Model Interface Toolkit, install Model Interface Toolkit from the NI VeriStand Features window using the NI VeriStand installer.
  1. You can now follow Step 3: Select the Correct Compiler and Step 4: Build the Compiled Model in the Compiling a Model from The MathWorks, Inc. Simulink® Software - NI VeriStand 2018 Help  document to build your model.

Additional Information

MATLAB®, Simulink®, and Real-Time Workshop® are registered trademarks of The MathWorks, Inc. All other trademarks are the property of their respective owners.


Not Helpful