Info

この質問は閉じられています。 編集または回答するには再度開いてください。

about figure is control

1 回表示 (過去 30 日間)
Pan
Pan 2012 年 8 月 6 日
閉鎖済み: MATLAB Answer Bot 2021 年 8 月 20 日
I want to ask the question. If I have first figure that has a button that can out of the second figure, but now I must close the first figure,staying the second figure.
Always two figure must have up and down the page.

回答 (1 件)

Matt Kindig
Matt Kindig 2012 年 8 月 6 日
Hi Pan,
It is not really clear in your question what behavior you want. Are you saying that you have two figures, Figure1 and Figure2, where Figure1 contains a button (technically a uicontrol) that closes Figure2? Now you want that button to close Figure1, but keep Figure2 open?
If so, simply modify the callback for that button to close() the handle to Figure1, rather than the handle to Figure2.
I'm not sure what the second paragraph "Always two figure must have up and down the page" means? Can you clarify?
  2 件のコメント
Pan
Pan 2012 年 8 月 6 日
but I don't how to write the code.
Pan
Pan 2012 年 8 月 6 日
Hi, I know how to do ,thank you

この質問は閉じられています。

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by