for ii = 1:5
   if ii == 3
      break;
   end
   fprintf('ii = %d\n',ii);
end
disp(['End of loop!']);
