I get this error, ive already checked parenthesis.Invalid expression. Check for missing multiplication operator, missing or unbalanced delimiters, or other syntax error.
조회 수: 2 (최근 30일)
이전 댓글 표시
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
답변 (1개)
Voss
2022년 12월 3일
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Matrices and Arrays에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!