Info

This question is closed. Reopen it to edit or answer.

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

1 view (last 30 days)
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!

Answers (1)

Walter Roberson
Walter Roberson on 8 Feb 2013
set(handles.uitable1, 'Data', TheLoadedData);
replace "uitable1" with the Tag you assigned to the table.
  1 Comment
Flávio
Flávio on 8 Feb 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.

This question is closed.

Community Treasure Hunt

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

Start Hunting!