Problem execute processor in the loop

조회 수: 6 (최근 30일)
Pamela Lee
Pamela Lee 2018년 4월 8일
답변: Cristóbal Cañarte 2018년 8월 7일
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

답변 (1개)

Cristóbal Cañarte
Cristóbal Cañarte 2018년 8월 7일

태그

Community Treasure Hunt

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

Start Hunting!

Translated by