Buttons in App Designer and User Prompt Input

6 ビュー (過去 30 日間)
Frederick Fascenelli
Frederick Fascenelli 2020 年 11 月 24 日
回答済み: Prudhvi Peddagoni 2020 年 11 月 27 日
So I coded the game mancala in MTALAB and now I want to create a clickable gameboard for it in the matlab app designer. So I was wondering, how could I make it were when the user is asked for a input, the user can click a button and that button would be the users input?

回答 (1 件)

Prudhvi Peddagoni
Prudhvi Peddagoni 2020 年 11 月 27 日
Hi,
You need to add buttons with appropriate labels and use the callback functionality of the buttons to take the input.
Here is a tutorial for making an app that uses slider as input (it uses callback function to acheive this).
Hope this helps.

カテゴリ

Help Center および File ExchangeDevelop Apps Using App Designer についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by