How to return output from a function in a set()?
Mostrar comentarios más antiguos
I am now using Matlab GUI and have problem during accessing return values from a function which is set by set().
Situation: I set the windowMotionFcn as below
set(gcf,'WindowButtonMotionFcn',@test);
Function 'test' can return 2 variables (named as var1 and var2).But I dont know how to store them... I have searched in the Internet and could not find any way.
How should I write?
Thank you for your help and kind attention.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Interactive Control and Callbacks en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!