Effacer les filtres
Effacer les filtres

change uitable property from another gui?

2 vues (au cours des 30 derniers jours)
Nagham Kabbara
Nagham Kabbara le 3 Nov 2015
hi, i am trying to program a small matlab app. in the main gui GUI1 i have a uitable, when the pushbutton filter is pushed, a new gui GUI2 is opened and the user will be able to choose a filtering criteria. so i was wondering if there's a way to set the data of uitable located in GUI1 from GUI2?

Réponse acceptée

Walter Roberson
Walter Roberson le 3 Nov 2015
Yes.
You can pass the handle of the table in to GUI2. Or if the 'Tag' property of the table is not duplicated in GUI2 then you can findobj('Tag', 'TheUitableTagGoesHere') to retrieve the handle. After that it is just a matter of changing the appropriate table properties according to what you want to do.
  1 commentaire
Nagham Kabbara
Nagham Kabbara le 4 Nov 2015
thank you it worked perfectly

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Migrate GUIDE Apps dans Help Center et File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by