matlab guide tool
Mostrar comentarios más antiguos
matlab gui exit button code..
Respuesta aceptada
Más respuestas (3)
Jan
el 25 de Mzo. de 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);
Matt Fig
el 25 de Mzo. de 2011
0 votos
Is there a question in there somewhere?
Seth DeLand
el 25 de Mzo. de 2011
0 votos
Maybe this is what you're looking for?
Categorías
Más información sobre MATLAB en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!