is 'continue' in 'c' language similar in MATLAB??

Answers (1)

Yes
The C continue Statement
The continue statement passes control to the next iteration of the nearest
enclosing do, for, or while statement in which it appears, bypassing any
remaining statements in the do, for, or while statement body.
Matlab
continue, Pass control to next iteration of for or while loop
However, to avoid infinite loops
break
might be what you need

Categories

Find more on Environment and Settings in Help Center and File Exchange

Asked:

on 6 Apr 2013

Community Treasure Hunt

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

Start Hunting!