Hi,
quick question: is there any warning appearing on the command window,
something like
slider control cannot have a value outside min/max range. uicontrol will
only
be rendered when all of its input values are correct
to be sure to get this warning, start your GUI from command line.
Titus
"qu" <qcygl7481@yahoo.com.cn> wrote in message
news:eef8b9f.1@webx.raydaftYaTP...
> Roy Schestowitz wrote:
> >
> >
> > qu wrote:
> >
> >> hi,all.
> >> I create a GUI with sliders to show image. I only set the
> > attributes
> >> min and max,but when i almost drag the slider to the
> end(max),the
> >> slider disappear,and the command window
> >> show the message:
> >> thank you in advance.
> >> qu
>
> >
> > This happens when your slider gets assigned a value that falls
> > outside the
> > range you specified, e.g. in GUIDE. This should never happen if you
> > know
> > what you are doing.
> >
> > -Check what range your slider is initialised to fit.
> >
> > -When you change the slider value attribute, print it and see where
> > it all
> > goes wrong.
> >
> > Roy
> >
> > --
> > Roy Schestowitz
> > <http://schestowitz.com>
> >
> yes,when the attribute value of slider changes,i print it and
> attribute max and value is not more than max but the slider still
> disappear.
> it is too strange to me.
> qu
|
|