VeriStand

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create an .out file using Matlab Simulink

Solved!
Go to solution

Hello.

 

I am trying to create a simple simulink model for cRio. Unfortunately it does not work, though there is no problem when i try generating a dll for a Farlab OS.

I installed the Visual Studio 8 SDK as well as adding the NIVeriStandSignalProbe to Simulink. In RealtimeWorkshop Options I chose NIVeriStand_VxWorks.tlc. When clicking the build-button, the following error occours:

 

Error building Real-Time Workshop target for block diagram 'Differer'. MATLAB error message:
Error using ==> RTW.genMakefileAndBuild
It appears that the build process was unable to locate some utility (e.g. make,
compiler, linker, etc.). Please verify your path and tool environment variables
are correct. You should be able to execute the make command:
   .\Differer.bat
at an MS DOS Command Prompt in the directory:
   d:\Prog\MATLAB\R2006b\work\Differer_niVeriStand_VxWorks_rtw
Currently, this generates the following error:

d:\Prog\MATLAB\R2006b\work\Differer_niVeriStand_VxWorks_rtw>set MATLAB=D:\Prog\MATLAB\R2006b

d:\Prog\MATLAB\R2006b\work\Differer_niVeriStand_VxWorks_rtw>c:\gccdist\supp\setup-gcc.bat   && make -f Differer.mk  GENERATE_REPORT=0 ADD_MDL_NAME_TO_GLOBALS=1 NIDEBUG=0 NIOPT="Default" OPTS=""
The system cannot find the path specified.

 

Looking forward to some help!

0 Kudos
Message 1 of 3
(7,434 Views)

Hello PhilippB,

 

for me it looks like that this is an error related to your Matlab settings.

Do you get the same error when you try to build a model without the VeriStand option?

 

Kind regards

Carsten

0 Kudos
Message 2 of 3
(7,398 Views)
Solution
Accepted by PhilippB

You just mentioned that you installed the Visual C++ toochain. For cRIOs VxWorks you need the GNU toolchain from here: http://zone.ni.com/devzone/cda/tut/p/id/5694

Andreas Stark
LabVIEW Lead @ Rocket Factory Augsburg
Message 3 of 3
(7,220 Views)