handles.

1 Ansicht (letzte 30 Tage)
sadel
sadel am 6 Jun. 2011
I have a variable handles.num
What does it mean "handles."?

Akzeptierte Antwort

Jan
Jan am 6 Jun. 2011
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.

Weitere Antworten (0)

Kategorien

Mehr zu Elementary Math finden Sie in Help Center und File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by