GUI closing automatically?

8 visualizaciones (últimos 30 días)
Niranjan
Niranjan el 22 de Feb. de 2011
Hi I've got a problem again. I've got a face detection algorithm. When I try to implement in GUI. After selecting the first button, the corresponding operation takes place but this closes the GUI! Where should the problem probably be? Any guesses? And how can I avoid this??

Respuesta aceptada

Jiro Doke
Jiro Doke el 22 de Feb. de 2011
I would assume you have a close, closereq, or delete somewhere in your code. Put a breakpoint on the first line of your button callback, and step through one line at a time, and you should be able to discover the problem
  6 comentarios
Jan
Jan el 25 de Feb. de 2011
Another strong hint that "clc;clear all; close all" is not useful but more likely causes trouble.
Arun Badigannavar
Arun Badigannavar el 4 de Abr. de 2013
Very helpful

Iniciar sesión para comentar.

Más respuestas (1)

Jan
Jan el 23 de Feb. de 2011

Community Treasure Hunt

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

Start Hunting!

Translated by