How can i exchange values between 2 functions (2 different buttons on a GUI) ?
Afficher commentaires plus anciens
By pressing first button I calculate some matrices. By pressing another button, I would like to save the previous values into a file. I do not know how to exchange the values between 2 function.
First function is:
function pushbutton1_Callback(hObject, eventdata, handles)
Second function is:
function pushbutton8_Callback(hObject, eventdata, handles)
I have tried to insert output argument on first function but it doesn't work or maybe I have just managed it in a wrong way.
Thanks to who wanna help me.
Réponse acceptée
Plus de réponses (0)
Catégories
En savoir plus sur Matrix Indexing dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!