ERROR IN MATLAB CODER...
이전 댓글 표시
I´m using the MATLAB example Hello World for testing the MATLAB coder tool. (The simplest example in the MATLAB HELP), and the MATLAB give-me follow error report in the prompt window.
??? Attempted to access instrumentAndRunPos(0); index must be a positive integer or logical.
Error in ==> echodemo>formatError at 245 stackStart = max(iRet(iRet < instrumentAndRunPos(end)));
Error in ==> echodemo at 183 disp(formatError(mExc))
somebody could help me? Thanks in advance.
채택된 답변
추가 답변 (1개)
Titus Edelhofer
2012년 5월 10일
Hi,
it looks as if the demo fails (and echodemo does not produce a "nice" error message). I would suggest to run the demo just as a script, i.e.,
edit coderdemo_hello_world
and then press the "run" button (or just press F5). Probably the demo will fail but should give a more helpful error message ...
Titus
댓글 수: 5
Joao Paulo
2012년 5월 10일
Kaustubha Govind
2012년 5월 10일
What happens when you type "!cmd &" (without the quotes) from the MATLAB prompt?
Kaustubha Govind
2012년 5월 10일
Also, could you look at my comment on this page: http://www.mathworks.com/matlabcentral/answers/2926-convert-matlab-to-c-using-emlc-function
Joao Paulo
2012년 5월 10일
Joao Paulo
2012년 5월 10일
카테고리
도움말 센터 및 File Exchange에서 Introduction to Installation and Licensing에 대해 자세히 알아보기
제품
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!