Hi, I answered I had kind of the same problem, I answered in this link : https://la.mathworks.com/matlabcentral/answers/399842-pil-error-for-f28379d-cp-is-not-recognized-as-internal-or-external-command-operable-program-or
Problem execute processor in the loop
4 次查看(过去 30 天)
显示 更早的评论
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
0 个评论
回答(1 个)
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!