how can i change class properties

2 Ansichten (letzte 30 Tage)
홍석
홍석 am 12 Sep. 2024
Beantwortet: Jatin am 16 Sep. 2024
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 Kommentare
Shivam
Shivam am 12 Sep. 2024
Could you attach the code snippet for me to debug the issue?
Steven Lord
Steven Lord am 12 Sep. 2024
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.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Jatin
Jatin am 16 Sep. 2024
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!

Community Treasure Hunt

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

Start Hunting!

Translated by