matlab guide tool

 Risposta accettata

Jan
Jan il 25 Mar 2011

1 voto

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

Più risposte (3)

Jan
Jan il 25 Mar 2011

1 voto

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 il 25 Mar 2011

0 voti

Is there a question in there somewhere?

Categorie

Scopri di più su MATLAB in Centro assistenza e File Exchange

Richiesto:

il 25 Mar 2011

Community Treasure Hunt

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

Start Hunting!

Translated by