Na Line 3: Parse error at <EOL>: usage might be invalid MATLAB syntax.

Na
Line 3: Parse error at EOL: usage might be invalid MATLAB syntax.

1 Comment

That line or the line before is incomplete
For example you might have had code similar to
if
x>3
disp('okay')
end
then that would fail because the condition needs to be on the same line as the "if"

Sign in to comment.

Answers (0)

Products

Release

R2023b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!