how can i change class properties

조회 수: 2 (최근 30일)
홍석
홍석 2024년 9월 12일
답변: Jatin 2024년 9월 16일
i change properties of class in addon functions then i got error here is error code.
user defined classes are not supported
in your version of MATLAB
what should i do?
my matlab version is newest and it is for student.
sorry for my bad english
  댓글 수: 2
Shivam
Shivam 2024년 9월 12일
Could you attach the code snippet for me to debug the issue?
Steven Lord
Steven Lord 2024년 9월 12일
That's not the full and exact text of the error message. Please show us all the text displayed in red in the Command Window (and if there are any warning messages displayed in orange, please show us those too.) The exact text may be useful and/or necessary to determine what's going on and how to avoid the warning and/or error.
As Shivam said, more information about what exactly you're trying to do (including a small sample of code) would be useful in helping determine why what you're trying isn't working.

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

답변 (1개)

Jatin
Jatin 2024년 9월 16일
As per my understanding you are trying to implement add on functions in class and getting "user defined classes are not supported" error message, here are some potential reasons and approach for this issue:
1. Ensure that you're using toolboxes included in your license. Verify if the toolboxes support class implementations.
2. If you're having trouble with class implementation, consider using structures or other supported data types as an alternative.
3. Refer documentation for any toolboxes you're using to understand supported features or possible workarounds.
If you are still stuck, please provide more details such as the toolboxes involved, a code snippet, and additional error messages for a better resolution.
Hope it helps!

카테고리

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