Why does Simulink take me to the MATLAB debug mode when there is an error in a MATLAB Function block in MATLAB R2016a?
Show older comments
I have a Simulink model that is using a MATLAB Function block. If there are runtime errors in the MATLAB code, when I run the model the simulation stops and the view switches to the MATLAB Editor in debug mode where the error occurs. I already turned off debugging in MATLAB with "dbclear all" but Simulink is still switching to debug mode when there are MATLAB errors. How do I fix this?
Accepted Answer
More Answers (0)
Categories
Find more on Simulink in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!