Need Help programming a Button
Show older comments
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 Comments
Geoff Hayes
on 13 Apr 2020
Gurinder - are you using GUIDE, App Designer, or are you programmatically creating your GUI?
Gurinder Punni
on 13 Apr 2020
Geoff Hayes
on 13 Apr 2020
Can you share some of your code? What is a "page" represented by?
Gurinder Punni
on 14 Apr 2020
Walter Roberson
on 14 Apr 2020
If they are seperate GUIs, then you just invoke the GUI as a function.
GUI_for_correct_answer();
Gurinder Punni
on 14 Apr 2020
Answers (0)
Categories
Find more on Develop Apps Using App Designer in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!