Undefined function or variable
이전 댓글 표시
I've received a script, created a file and put the code in it. While running I receive this error. As it is a script (not a function), there should not be a problem. Does anybody can guide me?
답변 (1개)
KALYAN ACHARJYA
2020년 7월 5일
편집: KALYAN ACHARJYA
2020년 7월 5일
0 개 추천
As you mentioned that it is main scripts (Not associated function call). The error clearly stated that "Undefined function or variable"
May be you using the any custom function within the code, which is not defined in the current working directory Or you didnot defined any variable, before it is used. Please check it carefully or share the code, so that we can point the exact error.
댓글 수: 4
joly Alipor
2020년 7월 5일
KALYAN ACHARJYA
2020년 7월 5일
편집: KALYAN ACHARJYA
2020년 7월 5일
Please us MTALAB version 2017b or more latest. I guess you are getting the "undefined function error" because of isfile.
Steven Lord
2020년 7월 5일
Can you show us the full and exact text (including all the text displayed in red) of the error message you received?
joly Alipor
2020년 7월 5일
카테고리
도움말 센터 및 File Exchange에서 Performance and Memory에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!