RESET GUI

조회 수: 10 (최근 30일)
Maryam Emad
Maryam Emad 2011년 12월 14일
Hi All
I want to Reset my GUI AS a whole , with one pushbutton RESET ! Is this Possible??
Thanks

채택된 답변

Walter Roberson
Walter Roberson 2011년 12월 14일
set(findobj('style','pushbutton'), 'Value', 0);
set(findobj('style','edit'), 'String', {''});
set(findobj('style','text'), 'String', {''});
set(findobj('style','listbox'), 'String', {''}, 'Min', 0, 'Max', 1, 'Value', 1, 'ListBoxTop', 1);
delete(findobj('type','line','-or','type','patch','-or','type','barseries','-or','type','surface');
and so on.
  댓글 수: 1
Maryam Emad
Maryam Emad 2011년 12월 14일
That's good
Thankful

댓글을 달려면 로그인하십시오.

추가 답변 (1개)

Jan
Jan 2011년 12월 14일
Yes, it is possible. You just need a suiting callback function for the button. Without knowing any details, it is impossible to create a more detailed answer.
One of the many solutions is to let the callback close the figure and open a new one.
  댓글 수: 6
Walter Roberson
Walter Roberson 2011년 12월 14일
Warning: popupmenu control requires a non-empty String
Control will not be rendered until all of its parameter values are valid
Maryam Emad
Maryam Emad 2011년 12월 14일
Sorry, can u explain more :$

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by