Tieing a pop-up menu to a push button

2 visualizzazioni (ultimi 30 giorni)
Jay
Jay il 16 Dic 2015
Modificato: Jay il 19 Dic 2015
I have 2 pushbuttons and 2 pop-up menus.
I want to tie pushbutton 1 to pop-up menu 1 and pushbutton 2 to pop-up menu 2.
I only want the user to be able to choose one or the other pushbuttons.
I then want the different names in their respective pop-up menus to link to separate GUIs.
I have tried to breakdown the GUI example used in the help section to no avail.
  4 Commenti
Jay
Jay il 16 Dic 2015
I have since found the below comment.
Is this applicable for a single selection pushbutton?
*See GUI Options on GUIDE's Tools menu. Choose "GUI allows only one % instance to run (singleton)".
Jay
Jay il 19 Dic 2015
Modificato: Jay il 19 Dic 2015
I have progressed to the comprehension that I want to have a primary pop-up box with two headings. Eg. AM and PM
The secondary pop-up box (which will depend on the parents pop-up box selection) will be:
AM: 'Twenty Four','Three', 'Six' or 'Nine' PM: 'Twelve', 'Fifteen', 'Eighteen' or 'Twenty One'
to no avail.

Accedi per commentare.

Risposte (0)

Categorie

Scopri di più su Interactive Control and Callbacks in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by