Here is a small script that I wrote after I missed a colon and saw some unexpected (by me) behavior in some work I was doing.
Yes, I know I am missing the colon in the for loop line, but that is exactly my point. I get this output at the command prompt,
but I am expecting an error
Error: Unexpected MATLAB expression.
I know I am not able to see something, probably something silly, obvious and embarrassing, but I just don't know what. Would like somebody to help me out here, thanks in advance.