Problem execute processor in the loop

4 views (last 30 days)
Pamela Lee
Pamela Lee on 8 Apr 2018
Hi, I got a problem to tried the simulink example, when I execute the Processor in the loop the diagnostic always got this error message: 'cp' is not recognized as an internal or external command,operable program or batch file.
the whole message as below: Build process completed successfully ### Preparing to start PIL simulation ... Building with 'lcc-win64'. Error using mex 'cp' is not recognized as an internal or external command, operable program or batch file.
Error in rtw.connectivity.MexWrapper/mex (line 28) mex('-compatibleArrayDims',...
Error in rtw.connectivity.CodeInfoSfunction/buildSfunction (line 145) mexWrapper.mex(this.sfunOutDir, ...
Error in rtw.pil.Sfunction/buildSfunction (line 962) buildSfunction@rtw.connectivity.CodeInfoSfunction(this);
Error in rtw.pil.Sfunction/build (line 181) this.buildSfunction;
Error in rtw.pil.SILPILInterface/generateHostSfunction (line 1929) sf.build;
Error in rtw.pil.SILPILInterface/buildWrapper (line 747) this.generateHostSfunction;
Error in pil_block_configure (line 195) pilInterface.buildWrapper(isPILBlockConfigure);
Error in pil_target_sim
Error in sl (line 15) [varargout{1:nargout}]=feval(varargin{:}); 'cp' is not recognized as an internal or external command, operable program or batch file. Component:Simulink | Category:Model error
Can anyone tell me how I can fix this probelm, thanks

Answers (1)

Cristóbal Cañarte
Cristóbal Cañarte on 7 Aug 2018

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!