How to use radio button and push button together

2 ビュー (過去 30 日間)
Oguzhan Sanliturk
Oguzhan Sanliturk 2020 年 5 月 11 日
回答済み: Payas Bahade 2020 年 5 月 13 日
Hey guys, i'm a beginner in creating GUI and i can't really understand that how can i use a push button with radio buttons.
For exampe: i will enter 2 numbers to make a operation and i will select the operation with radio buttons and then i will print it to a static text.
(enter 2 numbers - select an operation - click push button - see the result)
  2 件のコメント
Mohammad Sami
Mohammad Sami 2020 年 5 月 11 日
You can build your app in app designer. App designer has a built in tutorial to show you how to build an app.
You can easily drag and drop the ui element and then add a callback function on the push button to calculate the results.

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

回答 (1 件)

Payas Bahade
Payas Bahade 2020 年 5 月 13 日
Hi Oguzhan,
I have created an app in which you can enter two numbers and select the operation using radio buttons and results are shown once you click ‘Calculate’ push button. I have also shared the app file in attachment.
Kindly refer this documentation link to know more details about app building using App Designer.
Hope this helps!

カテゴリ

Help Center および File ExchangeMigrate GUIDE Apps についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by