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