How to know which loop is being calculated?
Show older comments
Hi all,
I have a k = 1:100 and j = 1:500 where the second one is loop within the first loop. How can I find out which loop is being calculated when I click run? For instance, I want to know after 20 minutes of running, is MATLAB running the first loop k=1 and j =250? or is it k=1 and j=10? I want to know which loop is being calculated.
Thanks
Accepted Answer
More Answers (2)
Categories
Find more on Loops and Conditional Statements 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!