>> x=1
x =
1
>> x2=1
x2 =
1
>> 2x=1
2x=1
↑
Invalid expression. Check for missing multiplication operator, missing or unbalanced
delimiters, or other syntax error. To construct matrices, use brackets instead of
parentheses.
Did you mean:
>> xy=1
xy =
1
>> x x =1
Unrecognized function or variable 'x'.
>> exc3.1=1
exc3.1=1
↑
Invalid expression. Check for missing multiplication operator, missing or unbalanced
delimiters, or other syntax error. To construct matrices, use brackets instead of
parentheses.
>> tan=1
tan =
1
>> if=1
if=1
↑
Incorrect use of '=' operator. Assign a value to a variable using '=' and compare
values for equality using '=='.
>> end=1
end=1
↑
Error: Illegal use of reserved keyword "end".
>> a long variable name = 1
Unrecognized function or variable 'a'.
>> a_long_variable_name2 = 1
a_long_variable_name2 =
1
>> x$ = 1
x$ = 1
↑
Error: Invalid text character. Check for unsupported symbol, invisible character, or
pasting of non-ASCII characters.
>> x%=1
x =
1
>> a_1 = 1
a_1 =
1
>> _a = 1
_a = 1
↑
Error: Invalid text character. Check for unsupported symbol, invisible character, or
pasting of non-ASCII characters.
>>