Thread Subject: how to hide wait bar?

Subject: how to hide wait bar?

From: GTGT

Date: 14 Jun, 2001 23:05:35

Message: 1 of 5

when I use nlfilter in image processing toolbox,
it always shows a wait bar.
how can I hide it, or let the system does not show
it at all?

thx

Subject: Re:how to hide wait bar?

From: joesababa@yahoo.com (Joe Sababa)

Date: 16 Jun, 2001 12:54:41

Message: 2 of 5

Hi,
Find the object:
h=findobj(allchild(0),'type','figure','tag','TMWWaitbar');
set visibility to off:
set(h,'vibility','off')
Hope it helps.
Joe
http://www.geocities.com/bstex2001

Subject: how to hide wait bar?

From: John D'Errico

Date: 19 Jun, 2001 07:09:57

Message: 3 of 5

I really like the solution we used. We modified the
waitbar function to use some new options.

The idea is to allow the user to turn off waitbars
from outside an application. This way we can do calls
like

   waitbar off

   ...stuff...
   
   waitbar on

so that the user can turn them off temporarily on their
own. We also added the ability to have stacked waitbars.

HTH,
John D'Errico


In article <3B29A5AF.B1364FF8@yahoo.com>, GTGT <gtgt001@yahoo.com>
wrote:

> when I use nlfilter in image processing toolbox,
> it always shows a wait bar.
> how can I hide it, or let the system does not show
> it at all?
>
> thx

--

Subject: how to hide wait bar?

From: Alejandro Arrizabalaga

Date: 14 Dec, 2009 16:07:03

Message: 4 of 5

Well, a cheap way to hide it is to change the color to the background. Not very elegant, but effective,

h=waitbar;
wb1c=get(h,'Children');
wb1c2=get(wb1c(1),'Children')
set(wb1c2(2),'FaceColor',[0.8 0.8 0.8]);
set(wb1c2(2),'EdgeColor',[0.8 0.8 0.8]);


GTGT <gtgt001@yahoo.com> wrote in message <3B29A5AF.B1364FF8@yahoo.com>...
> when I use nlfilter in image processing toolbox,
> it always shows a wait bar.
> how can I hide it, or let the system does not show
> it at all?
>
> thx

Subject: how to hide wait bar?

From: Wayne King

Date: 14 Dec, 2009 16:22:09

Message: 5 of 5

"Alejandro Arrizabalaga " <arrizaba@nikhef.com> wrote in message <hg5nr7$gub$1@fred.mathworks.com>...
> Well, a cheap way to hide it is to change the color to the background. Not very elegant, but effective,
>
> h=waitbar;
> wb1c=get(h,'Children');
> wb1c2=get(wb1c(1),'Children')
> set(wb1c2(2),'FaceColor',[0.8 0.8 0.8]);
> set(wb1c2(2),'EdgeColor',[0.8 0.8 0.8]);
>
>
> GTGT <gtgt001@yahoo.com> wrote in message <3B29A5AF.B1364FF8@yahoo.com>...
> > when I use nlfilter in image processing toolbox,
> > it always shows a wait bar.
> > how can I hide it, or let the system does not show
> > it at all?
> >
> > thx

In addition to the other posters' suggestions, if you are just interested in removing the waitbar for nlfilter.m, a very simple solution is just to comment out two lines in the Matlab code:
on line 64:
f = waitbar(0,'Applying neighborhood operation...');
and on line 70:
waitbar(i/ma)

Obviously, something like John's suggestion is a broader-based solution.

Wayne

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

rssFeed for this Thread

Contact us at files@mathworks.com