How to create a pushbutton that works with pop-up window?

How can i create a pushbutton that works with pop up window? For example I have 5 options on pop-up:
Facet 1, Facet 2, Facet 3, Facet 4, Facet.
and a pushbutton, called "single measurement". when it is pushed, linear stage starts to move to regarding facet.
- Choose facet from pop up list - Push "Single measurement" button

3 Kommentare

facet? linear stage starts to move to regarding facet? what's linear stage?
my question is not about facet or linear stage.
thanks for clarifying my doubts, good luck getting someone to do resolve your problem.

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Walter Roberson
Walter Roberson am 27 Jul. 2011

0 Stimmen

A uicontrol() of style popup cannot have a push button on it.
You can have the callback activated by selecting a member of the popup menu.
You could have a pushbutton which is initialized to invisible, but which is set to visible by the callback of the popup.

1 Kommentar

"You could have a pushbutton which is initialized to invisible, but which is set to visible by the callback of the popup." This is a very good idea but I don't know how to do. Do you have any sample mfile?

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Hilfe-Center und File Exchange

Produkte

Gefragt:

am 27 Jul. 2011

Community Treasure Hunt

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

Start Hunting!

Translated by