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 日間)
Flávio
Flávio 2013 年 2 月 8 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
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