handles.

2 次查看(过去 30 天)
sadel
sadel 2011-6-6
I have a variable handles.num
What does it mean "handles."?

采纳的回答

Jan
Jan 2011-6-6
It depends on how it was defined:
handles.num = 15
Now "handles" is a struct containing the field "num", which has the value 15. But if your define "handles" as object, it could be something different.
So please take the time to investigate it yourself:
class(handles)
whos('handles')
methods(handles)
If I dare to guess, "handles = guidata(FigureHandle)" might be the creator of the struct "handles". If so, see "help guidata" for more details.

更多回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Elementary Math 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by