It seems you can't comment-out entire lines in MATLAB within a multi-line statement. Or am I doing it wrong.
A few examples below.
%2 + ...
Error: Invalid expression. Check for missing or extra characters.
2. Structure definitions
s = struct(...
struct with fields:
Error: Invalid expression. When calling a function or indexing a variable, use parentheses. Otherwise, check for mismatched
Even if I use the Comment tool () in the MATLAB editor it causes these errors.
This is such a basic task! What am I doing wrong?