Command Window and debug mode
Ältere Kommentare anzeigen
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 Kommentare
per isakson
am 28 Feb. 2015
Is there an error message to share?
Image Analyst
am 28 Feb. 2015
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
am 2 Mär. 2015
Antworten (0)
Kategorien
Mehr zu Programming finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!