Info

Cette question est clôturée. Rouvrir pour modifier ou répondre.

Is it possible to create a sort of pushbutton 'load' and load data from a specified variable or file to a GUI table?

1 vue (au cours des 30 derniers jours)
Flávio
Flávio le 8 Fév 2013
Clôturé : MATLAB Answer Bot le 20 Août 2021
I have a GUI table and I want to create the option of loading data from a selection list, so the user can edit tha file.
GUI table doesn't allow me to load files when the GUI is active, I have to specify data in table property inspector before run GUI.
Is there a solution?
Thanks!

Réponses (1)

Walter Roberson
Walter Roberson le 8 Fév 2013
set(handles.uitable1, 'Data', TheLoadedData);
replace "uitable1" with the Tag you assigned to the table.
  1 commentaire
Flávio
Flávio le 8 Fév 2013
but in 'TheLoadData' section what do I write? My idea was to present a listdlg box with options, and then load the option choose.

Community Treasure Hunt

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

Start Hunting!

Translated by