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!

Antworten (1)

Adam
Adam am 26 Aug. 2014

0 Stimmen

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.

Kategorien

Mehr zu Software Development finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 26 Aug. 2014

Beantwortet:

am 26 Aug. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by