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 Comments

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.

Sign in to comment.

Answers (1)

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 Comment

"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?

Sign in to comment.

Categories

Products

Asked:

on 27 Jul 2011

Community Treasure Hunt

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

Start Hunting!