Compiling The Mathworks, Inc. Software Models for PharLap Targets in VeriStand or Model Interface Toolkit

Updated May 13, 2020

Reported In

Software

  • VeriStand
  • LabVIEW Model Interface Toolkit for VeriStand
  • VeriStand Model Framework

Issue Details

I am trying to compile my Mathworks, Inc. Simulink® dll for a PharLap target in NI VeriStand or Model Interface Toolkit. How do I set up my software to use this model?

Solution

These instructions are specific to setting up your environment to compile Mathworks Inc. software models for use on PharLap targets in NI software. There are separate instructions for compiling models for Windows targets and for Linux RT targets.
  1. Install a compatible version of MATLAB®, Simulink®, and  Simulink Coder™ (formerly Real-Time Workshop®) onto your machine.
  2. Download and install the Windows SDK for Windows 7 and .NET Framework 4.0 with the options below checked. You will need the Windows 7 SDK even if you're on a Windows 10 computer, but the installation process may look different.
    • Windows Headers and Libraries
    • Windows Native Code Development Tools
    • Intellisense and Reference Assemblies
    • Visual C++ Compilers
    • Microsoft Visual C++ 2010
  3. Download and Install the VeriStand Model Framework as part of the installation NI VeriStand, if required you can avoid to install the VeriStand Development following the indications provided in Compiling Models for Use with VeriStand Without Development License. If your are going to integrate the software model in LabVIEW refer to the Model Interface Toolkit installation process.
  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 Help document to build your model.

Additional Information

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