How do I manage and pass information between my main app and all of its children?
2 ビュー (過去 30 日間)
古いコメントを表示
(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 件のコメント
回答 (1 件)
Image Analyst
2020 年 4 月 1 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Develop Apps Using App Designer についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!