Connecting edit fields with a push button

6 ビュー (過去 30 日間)
William Corluka
William Corluka 2020 年 5 月 7 日
編集済み: Cris LaPierre 2020 年 5 月 7 日
Hi guys,
I am a MATLAB beginner and am trying to create an app for my unit converter program. I have already set up the apps general layout and wish to connect two numerical edit field texts (an input and an output) via a push button so that an answer can be obtained from an input.
I dont know where to start and what language to use in order to obtain an output value from entering an input value and pressing 'Convert'
Please help.
Thanks

採用された回答

Cris LaPierre
Cris LaPierre 2020 年 5 月 7 日
編集済み: Cris LaPierre 2020 年 5 月 7 日
You can do this by changing the properties of the output edit field inside the callback function of the push button. You can get and set these properties from the app structure. You can explore the various components and their associated properties on this page.
Take a look at this example. It seems very similar and could help you out.
  1 件のコメント
William Corluka
William Corluka 2020 年 5 月 7 日
Thanks Cris,
I'll give that a try.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeApp Building についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by