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

1 次查看(过去 30 天)
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

回答(1 个)

Walter Roberson
Walter Roberson 2011-7-27
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 个评论
Can Acar
Can Acar 2011-7-27
"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?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Performance and Memory 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by