Store values from GUI to a cell array in workspace

1 vue (au cours des 30 derniers jours)
George
George le 21 Sep 2013
I have written a GUI where I input some values (popup menus and edit boxes) and with the push of a button, store these values and reset the inputs so I can reinsert new values. This repetition does not occur for a known number of times. The only way I know that I can achieve this is by storing the values from each iteration to a variable in the workspace. I know I cannot do this using the assignin command, is there any other way?

Réponse acceptée

Azzi Abdelmalek
Azzi Abdelmalek le 21 Sep 2013
I am not sure to understand your question, if you want to pass data in your callback function, use guidata, or save your data in 'userdata' of any object
  1 commentaire
Azzi Abdelmalek
Azzi Abdelmalek le 24 Sep 2013
[george commented]
Thanks Azzi, guidata is what I will use.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by