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!

Respuestas (1)

Adam
Adam el 26 de Ag. de 2014
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.

Categorías

Más información sobre Software Development en Centro de ayuda y File Exchange.

Preguntada:

el 26 de Ag. de 2014

Respondida:

el 26 de Ag. de 2014

Community Treasure Hunt

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

Start Hunting!

Translated by