NoamG
NoamG

Reputation: 165

How to disable the automatic debugging mode in Matlab R2014a when encountering an error?

I would like to disable the automatic debugging mode. There is a possibility to turn it on: dbstop if error but I couldn't find a way to turn it off. Anybody has an idea?

Upvotes: 1

Views: 555

Answers (1)

hbaderts
hbaderts

Reputation: 14336

As you already stated, you can use dbstop if error to automatically set a breakpoint and start debugging when an error occurs.

To clear breakpoints, you can use the function dbclear. The syntax to disable automatic breakpoints is almost identical:

dbclear if error

Upvotes: 1

Related Questions