dbstop if error: before it was stopping at error in my code, now set the break point into Matlab native functions
2 vues (au cours des 30 derniers jours)
in the past i have used the dbstop if error t debug my code. It was particurarly useful when the error occurs at some step in a cycle.
Recently I am not able to use it anymore in this way because, when an error occurs, the breapoint is set inside the matlab core function that generate the error. I have tried the StepIn/StepOut buttons, but i can't get the debug on my line of coding.
I don't know if I have to change the settings or to use another dbstop option.
Thanks in advance for your help-