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
Geoff Hayes 2014 年 8 月 26 日
Jonas - see the answers to pass data between guis for some ideas on how to proceed.

サインインしてコメントする。

回答 (1 件)

Adam
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 ExchangeSoftware Development についてさらに検索

質問済み:

2014 年 8 月 26 日

回答済み:

2014 年 8 月 26 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by