how to make callback ception!!
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Vaibhav
el 19 de En. de 2014
i want to know how we can start any button with identity XYZ using some another buttons callback.
Thank you for your valuable suggestions!!
0 comentarios
Respuesta aceptada
Image Analyst
el 19 de En. de 2014
Have the callback for XYZ call a function, myCallback, where everything is in there. Then myCallback can be called from any function at all.
function anyButton_Callback(hObject, eventdata, handles)
% Some code
myCallback(handles);
function XYZ_Callback(hObject, eventdata, handles)
% Some other code
myCallback(handles);
1 comentario
Más respuestas (0)
Ver también
Categorías
Más información sobre Interactive Control and Callbacks en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!