How do I manage and pass information between my main app and all of its children?
2 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
(Unable to share code due to security issues)
I made an app in app designer to plot selected data files. I also created a child app which allows the user to update axis limits on the parent app's graph, following Mathworks' documentation to get them to communicate with one another.
Along those same lines, how can I expand this notion (sharing information between two apps) to work with any number of instances of a single child app? For example, I'd like to be able to call (for example) 10 instances of the same child app from my parent app, and be able to communicate with them separately. As I do not know how many child apps a user will call at one time, it does not seem feasible to add a property to store each open instance (as indicated in the documentation referenced above).
0 commentaires
Réponses (1)
Image Analyst
le 1 Avr 2020
You can find some help in the FAQ: https://matlab.fandom.com/wiki/FAQ#How_can_I_share_data_between_callback_functions_in_my_GUI.28s.29.3F
0 commentaires
Voir également
Catégories
En savoir plus sur Develop Apps Using App Designer dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!