MATLAB: Dbstop if error: manually fixing the error and continue

dbstopdebugerrorMATLAB

Hi all,
Let's say I toggle on the dbstop if error. And the matlab automatically stops at the error, is it possible for me to manually fix the error and continue the code execution (right from the place where Matlab stops, instead of re-running the code from the beginning)?
Thanks in advance!
Best, Liao

Best Answer

The documentation of dbstop is clear in this point:
dbstop if error — Run-time error that occurs outside a try/catch block. You cannot resume execution after an uncaught run-time error.
Related Question