continue
continue evaluation in loop.
📝Syntax
continue
📄Description

continue statement can be used inside a for or a while loop.

continue statement is used to pass control to the next iteration of a loop.

💡Examples
for i=1:10
  if (i == 5)
    continue;
    disp('never here')
    disp(i)
  else
    disp(i)
  end
end
🔗See Also
for
🕔Version History
Version Description
1.0.0 initial version
Edit this page on GitHub