what's the difference between handles and hObject?
Mostrar comentarios más antiguos
Where do I use handles and hObject?? And why are there function which contain sometimes both of them plus eventdata and other one of those 3 is missed?? for example function pushbutton1_Callback(hObject, eventdata, handles)
Respuesta aceptada
Más respuestas (1)
Iain
el 2 de Oct. de 2014
4 votos
handles is a structure holding ALL of the handles for the GUI.
hObject, is JUST the handle for the GUI object used.
eventdata contains specific event data - like what cell got selected on a table/what key got pressed.
1 comentario
John Bitzios
el 3 de Oct. de 2014
Categorías
Más información sobre Data Type Identification en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!