for j=1:5 disp(j) if j >= 3 break end end