Borrar filtros
Borrar filtros

Store values from GUI to a cell array in workspace

2 visualizaciones (últimos 30 días)
George
George el 21 de Sept. de 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?

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 21 de Sept. de 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 comentario
Azzi Abdelmalek
Azzi Abdelmalek el 24 de Sept. de 2013
[george commented]
Thanks Azzi, guidata is what I will use.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Migrate GUIDE Apps en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by