LIMPIAR DATOS DE GUIDE CON BOTÓN DE SWITCH
Publicado por Alexis (2 intervenciones) el 09/07/2019 04:05:33
Saludos tengo una duda, cree un switch para un GUIDE con tres botones 'SI' 'NO' 'CERRAR' pero el problema radica en que si presiono la opción 'NO' no debe cerrarse el GUIDE pero si debe limpiar los datos antes registrados y no se como solo limpiar esas variables sin cerrar, ayuda por favor.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
function pushbutton7_Callback(hObject, eventdata, handles)
disp ('ESTE BOTON PERMITE ABANDONAR EL SISTEMA');
RESP=questdlg('¿DESEA SALIR DEL SISTEMA?','PROGRAM','SI','NO','CANCELAR','CANCELAR');
switch(RESP)
case 'SI'
disp('OPCION SI')
close(handles.output);
case 'NO'
disp('OPCION NO')
%No se como con el "case 'NO' " solo limpiar los datos sin cerrar el guide%
case 'CANCELAR'
disp('OPCION CANCELAR')
end
Valora esta pregunta


0