If you save the code below to, say, mwe.m then at the command prompt type
then call the function, it will ignore the `else` line at which it is asked to stop, and continue on to the end. Is there a way to fix this problem, and make it stop at line 5 rather than 4?
if 1 < 2;
disp('should not get to here');