Can you determine the number of times a while() statement has run before it finally ends?

I am creating a while function and need to determine the number of cycles it went through before finally coming to completion. Thanks for your help!

 Accepted Answer

More Answers (0)

Categories

Find more on Loops and Conditional Statements in Help Center and File Exchange

Asked:

on 17 Sep 2015

Commented:

on 17 Sep 2015

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!