How to transfer data between two applications?
26 ビュー (過去 30 日間)
古いコメントを表示
There are two applications A and B, I want the data I enter to be transmitted to application B when the button is clicked. Example attached:
Thank you in advance!
0 件のコメント
採用された回答
Jon
2022 年 5 月 24 日
In appA add an instance of appB as a property (and assign it in the startup function).
In appB assign a property for the data you want to transmit.
In the callback for the button press in appA assign a value to appB's property using your instance of appB
app.appB.data = data
3 件のコメント
Jon
2022 年 5 月 25 日
I have modified your attached files to provide an example of how you can do what you describe. I commented out some of your code which was not used. You can of course futher modify from here, renaming variables/properties with more meaningful names etc
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Downloads についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!