These instructions are specific to setting up your environment to compile MathWorks Inc. software models for use on Phar Lap targets in NI software. There are separate instructions for compiling models
for Windows targets and
for Linux RT targets .
This article details how to use the
VeriStand Model Framework to compile the model and this article should not be used with the NI VeriStand Model Generation Support MATLAB Add-On as that does not include Phar Lap support.
Note, VeriStand 2021 and later
drops support for all Phar Lap targets .
- 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
- Install a compatible version of MATLAB®, Simulink®, and Simulink Coder™ (formerly Real-Time Workshop®) onto your machine.
- Once the MathWorks software has been installed, download and Install the VeriStand Model Framework as part of the NI VeriStand installation.
- If required you can avoid installing the entire VeriStand Development environment by following the steps provided in Compiling Models for Use with VeriStand Without Development License . If you are going to integrate the software model in LabVIEW refer to the Model Interface Toolkit installation process.
- If you installed VeriStand before you installed the MathWorks software, VeriStand will not have installed the required support for the MathWorks software. You can correct this by rerunning the VeriStand installer and ensuring the VeriStand Model Framework is ticked.
- 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.
- The code generation option can be found in MATLAB® by selecting Code > C/C++ Code > Code Generation Options... from the toolbar