I get this error, ive already checked parenthesis.Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error.
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error. To construct
matrices, use brackets instead of parentheses.
this is the line with problems
f = figure ('position', [0, 0] scrz(3),scrz(4));
0 Kommentare
Antworten (1)
Voss
am 3 Dez. 2022
There is a comma missing:
f = figure ('position', [0, 0] scrz(3),scrz(4));
% ^^ missing a comma
However, I think you probably mean to say:
f = figure ('position', [0, 0, scrz(3), scrz(4)]);
0 Kommentare
Siehe auch
Kategorien
Mehr zu Matrices and Arrays finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!