Pass variables into set(frt,'WindowButtonDownFcn',@mousePos)
Mostrar comentarios más antiguos
Quick question, how can i pass some other variables that i want in mousePos
function mousePos(hObject,~)
mPos=get(hObject,'CurrentPoint');
finalPos(mPos,data)
The data variable is defined in the main function but i want to use it here too.
Respuesta aceptada
Más respuestas (1)
Xiangqi
el 27 de Ag. de 2013
0 votos
To Raldi,
Hi~ Have you found the way to update the value of "data" ?
I encountered the same problem and don't know how to update it.
Thanks for your help in advance.
Huang
Categorías
Más información sobre Data Preprocessing 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!