How do you transfer numeric data between 2 tables in 2 different GUI's?

1 次查看(过去 30 天)
GUI1 has table1 and GUI2 has table2. table2 has editable cells which enable the user to type numeric data in the cells. I would like to be able to send the data entered into the cells in table2 to the 2nd column of table1.
i tried using setappdata(MasterSet,'CellData',table2{:}) to save the values in table2 to MasterSet handles but matlab is telling me that table2{:} is a undefined variable.
table2 is definitely the name of the table in the GUI.
any suggestions or help will be greatly appreciated
Thanks, Cordelle
i created the GUI's using Guide
  1 个评论
Chad Gilbert
Chad Gilbert 2013-7-3
If you have made 2 separate GUIs using GUIDE, then they are both running as functions. By default, they each own variables which are out of each-other's scopes. You may be able to share data between them by making your table data global. But why are you making two separate GUIs, as opposed to one, if they are going to share data in this way?

请先登录,再进行评论。

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Migrate GUIDE Apps 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by