フィルターのクリア

GUI closing automatically?

5 ビュー (過去 30 日間)
Niranjan
Niranjan 2011 年 2 月 22 日
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??

採用された回答

Jiro Doke
Jiro Doke 2011 年 2 月 22 日
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 件のコメント
Jan
Jan 2011 年 2 月 25 日
Another strong hint that "clc;clear all; close all" is not useful but more likely causes trouble.
Arun Badigannavar
Arun Badigannavar 2013 年 4 月 4 日
Very helpful

サインインしてコメントする。

その他の回答 (1 件)

Jan
Jan 2011 年 2 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by