Command Window and debug mode

조회 수: 2 (최근 30일)
Matthew
Matthew 2015년 2월 28일
댓글: Matthew 2015년 3월 2일
When i launch a script in debug mode, the script fails at a particular line. This occurs when I step through the code, line by line. However, if i stop the debug step at the line that fails, and manually type the exact line in the command window, the line works as expected and does not generate an error code
If i launch the script from the application itself it also fails.
So my question is, is there some reason it works in command window and not in debug mode or otherwise. Is there something different about it?
thank you for any input.
  댓글 수: 3
Image Analyst
Image Analyst 2015년 2월 28일
What does "fail" mean to you? Can you attach the m-files? Bare minimum you need to show us the line of code and the error.
Matthew
Matthew 2015년 3월 2일
Thank you for the input. Oddly enough, checking the code this morning that problem disappeared and is working as expected. I must have needed a reboot of the computer or there was something wrong with my connection from Matlab to the Application i was using.

댓글을 달려면 로그인하십시오.

답변 (0개)

카테고리

Help CenterFile Exchange에서 MATLAB Compiler에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by