Showing results for 
Search instead for 
Did you mean: 

Simulink Error Generating model


Simulink Error Generating model

Hi all,


Just would like to ask for assistance regarding this matter. I checked the internet if there are similar issues but so far I haven't seen anything like this as of the moment.


I'm currently using NI Veristand 2016 and Matlab R2012b. I installed all the programs needed for generating models and I was able to successfully create models when NI_Veristand.tlc was used. However, when the 32-bit ARM or 64-bit linux was used, the error is as follows. I also tried uninstalling and re-installing the Eclipse tool-chain. However, there was no luck.


D:\Git\ewd-hil-model-library\veristand_output-folder\model_Relay_Generic_niVeriStand_Linux_64_rtw>C:\VeriStand\2016\ModelInterface\tmw\toolchain\Linux_64_GNU_Setup.bat && cs-make -f GENERATE_REPORT=0 NIDEBUG=0 NIOPT="Default" OPTS=""
Setting environment for using NI Linux Real-Time 2014 64-bit tools.
/usr/bin/bash: -c: line 0: syntax error near unexpected token `('
/usr/bin/bash: -c: line 0: `if not exist "C:\VeriStand\2016\ModelInterface\tmw\lib\x86_64\gcc\4.7.2\R2012b\RELEASE"\ (mkdir "C:\VeriStand\2016\ModelInterface\tmw\lib\x86_64\gcc\4.7.2\R2012b\RELEASE")'
cs-make: *** [create_lib_dir] Error 1
### Aborted due to an error in the build procedure for model: model_Relay_Generic


Greatly appreciate your help on this matter! Smiley Happy 




0 Kudos
Message 1 of 2

Re: Simulink Error Generating model

What version of the toolchains did you install? You'll want to confirm that you used this version

0 Kudos
Message 2 of 2