matlab guide tool
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
matlab gui exit button code..
0 Commenti
Risposta accettata
Jan
il 25 Mar 2011
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
il 25 Mar 2011
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);
0 Commenti
Vedere anche
Categorie
Scopri di più su Logical in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!