Passing Data between two Apps
14 ビュー (過去 30 日間)
古いコメントを表示
I have created two apps (App1, and statitics), and I would like to pass the following data from the first one into the second one when the user click of a button.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/988015/image.jpeg)
The call back function to call the second app looks like this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/988020/image.jpeg)
I don't know how should I fix the code, so that when I click on the statistics button I get the second app loaded with the needed data.
I've already read the follwoing page, but I didn't understand how to fix it:
Thus I would appreciate any valuable input!
0 件のコメント
採用された回答
Cris LaPierre
2022 年 5 月 5 日
5 件のコメント
Cris LaPierre
2022 年 5 月 10 日
It looks like you are not following the instructions I linked to. Perhaps open the example files and inspect the two apps. You can do so by running this command:
openExample('matlab/AppsThatShareDataExample','supportingFile','DialogAppExample');appdesigner('MainAppExample');
その他の回答 (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!