02-26-2013 09:28 AM
Hello, I am trying to compile the real-time workshop code for VeriStand machine using Matlab/Simulink, however I am getting into the following error message bellow. Has anyone out there had a similar issue with code compilation.
Warning: File I/O error on file 'NIVeriStand.tlc'
Operation that caused an error: find
> In BuildModel at 59
??? Error using ==> locLoadSTF at 419
File I/O error on file 'NIVeriStand.tlc'
Operation that caused an error: open
Error in ==>
D:\MATLAB_TEH_CONCURRENT_R2010A-PSP40\toolbox\rtw\rtw\private\getSTFInfo.p>getSTFInfo
at 89
Error in ==> rtwprivate at 12
[varargout{1:nargout}] = feval(function_name, varargin{1:end});
Error in ==>
D:\MATLAB_TEH_CONCURRENT_R2010A-PSP40\toolbox\simulink\simulink\private\slbuild_private.p>loc_codegenentry
at 432
Error in ==>
D:\MATLAB_TEH_CONCURRENT_R2010A-PSP40\toolbox\simulink\simulink\private\slbuild_private.p>slbuild_private
at 278
Error in ==> sl at 16
[varargout{1:nargout}]=feval(varargin{:});
Error in ==> slbuild at 62
sl('slbuild_private', mdl, varargin{:});
Error in ==> rtwbuild at 146
slbuild(sys, 'StandaloneRTWTarget', ...
Error in ==> BuildModel at 63
rtwbuild(bdroot)
02-27-2013 10:26 AM
Hello Mineikis,
I think this may be an error that is specific to the Real-Time Workshop, and that the NIVeristand.tlc file is missing. This page gives a good guide on how to create a simulation model and point the program towards Veristand as the System Target File, could you follow these steps and let us know if you still get the same errors?
http://www.ni.com/white-paper/13066/en
09-03-2020 12:17 AM