matlab guide tool

 採用された回答

Jan
Jan 2011 年 3 月 25 日

1 投票

Ah, well, there is a standard answer for GUI questions: Please inspect the examples in Matt Fig's FEX: GUI-Examples

1 件のコメント

Jan
Jan 2011 年 3 月 26 日
@Matt: Thanks. Good work.

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

その他の回答 (3 件)

Jan
Jan 2011 年 3 月 25 日

1 投票

Let me guess what you want - although wild mass guessing is an inefficient counterproductive anti-pattern (see Wiki: AntiPattern)
uicontrol('Style', 'pushbutton', ...
'String', 'Exit', ...
'Position', [10, 10, 120, 22], ...
'Callback', @myExit, ...
'FontName', 'Helvetica');
function myExit(ObjH, EventData)
FigH = ancestor(ObjH, 'figure');
set(FigH, 'DeleteFcn', '', ...
'CloseRequestFcn', '');
delete(FigH);
Matt Fig
Matt Fig 2011 年 3 月 25 日

0 投票

Is there a question in there somewhere?
Seth DeLand
Seth DeLand 2011 年 3 月 25 日

0 投票

カテゴリ

ヘルプ センター および File ExchangeMATLAB についてさらに検索

タグ

質問済み:

2011 年 3 月 25 日

Community Treasure Hunt

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

Start Hunting!

Translated by