Info

此问题已关闭。 请重新打开它进行编辑或回答。

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

1 次查看(过去 30 天)
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!

回答(1 个)

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