why I getting error " Undefined function or variable"

조회 수: 9 (최근 30일)
Ishaq Alshuaili
Ishaq Alshuaili 2021년 1월 24일
댓글: Walter Roberson 2021년 1월 24일
why am I getting this message "Undefined function or variable" when I try to run this code?

답변 (1개)

Walter Roberson
Walter Roberson 2021년 1월 24일
You have a syntax error in your file that is making it unrunnable.
As the very first character is flagged the first thing I would look for is the possibility that you have too many end statements. But if you hover your cursor on the red underline on the first line it will tell you what it thinks is wrong
  댓글 수: 3
Ishaq Alshuaili
Ishaq Alshuaili 2021년 1월 24일
sorry I dont anderstand what that mean " syntax error in your file "
Walter Roberson
Walter Roberson 2021년 1월 24일
Please attach the file for us to check. In this particular situation, please do not copy the file in as text in a comment, please attach it, as there might happen to be characters in the file that are not compatible with use as a comment here.

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

카테고리

Help CenterFile Exchange에서 Whos에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by