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

1 回表示 (過去 30 日間)
Can Acar
Can Acar 2011 年 7 月 27 日
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 件のコメント
Can Acar
Can Acar 2011 年 7 月 27 日
my question is not about facet or linear stage.
Paulo Silva
Paulo Silva 2011 年 7 月 27 日
thanks for clarifying my doubts, good luck getting someone to do resolve your problem.

サインインしてコメントする。

回答 (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 Center および File ExchangePerformance and Memory についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by