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

2 visualizzazioni (ultimi 30 giorni)
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 Commento
Chad Gilbert
Chad Gilbert il 3 Lug 2013
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?

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Migrate GUIDE Apps in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by