필터 지우기
필터 지우기

Issue with "Unexpected MATLAB operator"

조회 수: 3 (최근 30일)
Sam Joynson
Sam Joynson 2015년 8월 11일
댓글: Steven Lord 2019년 12월 2일
Today I attempted to open my GUI from MATLAB R2015a (what I've been using) and every function in the code following the maxVelocity function throws an "Unexpected MATLAB operator" error. The code was made with GUIDE. I changed nothing. This code has been operating and running flawlessly for weeks and just started acting like this today.
  댓글 수: 2
abigail
abigail 2019년 12월 2일
Did you ever determine the root cause of this? I am running into the exact same problem
Steven Lord
Steven Lord 2019년 12월 2일
Open the file in MATLAB Editor. Look in the right margin for any red or orange lines. You should see at least one red line based on that error message. Click on the first red line to move the cursor to the place where Code Analyzer detected the error. Make sure that line is syntactically legal, and then start looking at previous lines to determine if the cause was earlier in the file but only detected later.
If you can't detect the problem, post the line where the first red line appears as well as a few (no more than 5 or so) lines above and below that one so we can see if we can determine what's going on.

댓글을 달려면 로그인하십시오.

답변 (1개)

Shane
Shane 2015년 8월 11일
Without any code or more info, nobody can really help you.

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by