フィルターのクリア

How to call the text edit value on a gui to run in another gui?

1 回表示 (過去 30 日間)
Yuli Hartini
Yuli Hartini 2017 年 4 月 28 日
コメント済み: Yuli Hartini 2017 年 4 月 28 日
I have two GUI, just say it loks like calculator.. The first GUI's use to input the number and the second GUI showing the answer(output). I'm using edit text to input and output. My answer: How to call the text edit value on a gui to run in another gui?
Thank you so much for you're answer
  3 件のコメント
Adam
Adam 2017 年 4 月 28 日
I would generally recommend using classes and listeners to do this, but it would be way too deep for such a simple problem. Ideally GUIs should not be interacting with each other though - they should each be lightweight layers on top of other code that deals with interactions. A GUI should just update some object, that object may talk to another object and in response to some function call or property change on that object the 2nd GUi will update itself.
Yuli Hartini
Yuli Hartini 2017 年 4 月 28 日
I think you don't understand what I mean. but anyway thank you for answer my question

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

採用された回答

Geoff Hayes
Geoff Hayes 2017 年 4 月 28 日
Yuli - it sounds like you want to pass data between your two GUIs. See https://www.mathworks.com/matlabcentral/answers/146215-pass-data-between-gui-s for one example of how to do this.

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeInstall Products についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by