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

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)

set(handles.uitable1, 'Data', TheLoadedData);
replace "uitable1" with the Tag you assigned to the table.

1 Comment

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.

Asked:

on 8 Feb 2013

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!