stop execution of code to check results
Show older comments
Is there a way to stop code from executing so that results can be checked. For example something like
if i == 100000
Stop
end
I want to check the values of a parameter when the iteration is equal to 100,000.
How can I do that?
Accepted Answer
More Answers (2)
the cyclist
on 11 Sep 2021
0 votes
Walter Roberson
on 11 Sep 2021
0 votes
Use keyboard
Categories
Find more on Debugging and Analysis 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!