If I am in an UserInterface and here perform what I want; after that I want to go in another UI with all the result obtained.
Info
This question is closed. Reopen it to edit or answer.
Show older comments
I am using pushbuttons. Surprisingly in the new UI I have not the previous data. I can export the data and after that import them in the new UI. But I look for a better solution ....
Answers (2)
Jan
on 19 Jul 2011
2 votes
Transporting the data from one GUI to the other is the best solution already. So it only depends on what "export" and "import" exactly means.
One method is to use a global variable (see "help global"). I prefer to store the variable in the GUI's UserData, ApplicationData (see "help setappdata") or by GUIDATA (see "help guidata"). Then the GUI needs a subfunction to reply the values on demand.
I suggest to take a look at Matt Fig's GUI examples: FEX: 41. Example 35 might help. But it is a good idea to study all examples.
Daniel Shub
on 19 Jul 2011
1 vote
This question is closed.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!