Loading [Contrib]/a11y/accessibility-menu.js

break

The break keyword immediately terminates a for or while loop.

for j = 1:10          
     disp(j)          
     if j == 3                   
           break
     end
end
Will result in:
1
2
3