I have a variable handles.num
What does it mean "handles."?

 채택된 답변

Jan
Jan 2011년 6월 6일

2 개 추천

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개)

카테고리

도움말 센터File Exchange에서 Function Handles에 대해 자세히 알아보기

태그

질문:

2011년 6월 6일

Community Treasure Hunt

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

Start Hunting!

Translated by