Communicating between two matlab GUI programs on the same computer.
古いコメントを表示
Hello,
I am trying to interface two matlab programs (with GUIs) running on the same computer and the same Matlab instance.
Essentially, I need to be able to query a particular variable in one program when prompted to do so by the other, and then update this variable after a certain calculation has been completed.
I have done this before between instances running on separate computers via TCP/IP, but never on the same computer.
Thanks!
1 件のコメント
Geoff Hayes
2014 年 8 月 26 日
回答 (1 件)
Adam
2014 年 8 月 26 日
0 投票
My favoured approach is to use handle-derived classes shared between objects with listeners attached.
If you aren't familiar with classes and don't want to be though then options to do with setting gui tags and using global findobj type functionality works.
カテゴリ
ヘルプ センター および File Exchange で Software Development についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!