How can i exchange values between 2 functions (2 different buttons on a GUI) ?
Show older comments
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.
Accepted Answer
More Answers (0)
Categories
Find more on Matrix Indexing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!