How do I manage and pass information between my main app and all of its children?
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
(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 comentarios
Respuestas (1)
Image Analyst
el 1 de Abr. de 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 comentarios
Ver también
Categorías
Más información sobre Develop Apps Using App Designer en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!