i need help in my code in app designer

조회 수: 3 (최근 30일)
Juman
Juman 2023년 1월 16일
댓글: Dinesh 2024년 11월 13일
  댓글 수: 3
Adam Danz
Adam Danz 2023년 1월 16일
편집: Adam Danz 2023년 1월 16일
At the very least, we need to see line 205 +/- 10 lines.
Shuba Nandini
Shuba Nandini 2023년 3월 1일
Hi Juman,
Can you please provide the full code for debugging?
Thanks

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

답변 (1개)

Dinesh
Dinesh 2023년 3월 7일
Hi Juman.
The error message indicates that there is a problem with the use of the keyword "methods" in your App Designer app code. "methods" is a reserved keyword in MATLAB and it is used to define the methods of a class.
Without seeing your code, it is difficult to identify the exact problem. However, it is possible that you have used "methods" as a variable or function name in your code, which is not allowed.
To fix the issue, you need to rename the variable or function that is using the keyword "methods". You can use a different name that is not a reserved keyword in MATLAB.
  댓글 수: 2
Farila
Farila 2024년 11월 12일
Hi Dinesh,
I get same problem with Juman, but in my problem, i can't change keyword "methods" in code App Designer. How must I do?
Dinesh
Dinesh 2024년 11월 13일
@Farila, I'm not suggesting to change the keyword "methods" in the app, inside which the functions are defined. The error might be because there are any other variables or functions in the code that use the name "methods", which can be modified. If this doesn't help you, please provide your app file, and I can look into it.

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

카테고리

Help CenterFile Exchange에서 Develop Apps Using App Designer에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by