Need Help programming a Button

I am creating a mutliple choice prompt in which the correct button pressed will present the user with the correct page and all others the wrong page. How do I program a button to open another page when clicked?

6 件のコメント

Geoff Hayes
Geoff Hayes 2020 年 4 月 13 日
Gurinder - are you using GUIDE, App Designer, or are you programmatically creating your GUI?
Gurinder Punni
Gurinder Punni 2020 年 4 月 13 日
I am using App Designer. I know a few details like having to use callback functions, but am unware about specifcs.
Geoff Hayes
Geoff Hayes 2020 年 4 月 13 日
Can you share some of your code? What is a "page" represented by?
Gurinder Punni
Gurinder Punni 2020 年 4 月 14 日
I have a main GUI that has a question prompt and I have made 2 addition GUI's for the Correct answer and wrong answer. How do I program it so, if the right answer is clicked, it opens to that GUI? Or inversely, the wrong answer.
Walter Roberson
Walter Roberson 2020 年 4 月 14 日
If they are seperate GUIs, then you just invoke the GUI as a function.
GUI_for_correct_answer();
Gurinder Punni
Gurinder Punni 2020 年 4 月 14 日
thanks

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

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeDevelop Apps Using App Designer についてさらに検索

タグ

質問済み:

2020 年 4 月 13 日

コメント済み:

2020 年 4 月 14 日

Community Treasure Hunt

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

Start Hunting!

Translated by