[scilab-Users] Delete a uicontrol

Stefan Du Rietz sdr at durietz.se
Thu Jul 10 16:04:01 CEST 2008


I found out myself how to delete it:

close(h)

I have searched the documentation but not found anything 
exhaustive about this or other differences between the two 
window formats...

/Stefan


On 2008-07-10 15:40, Stefan Du Rietz wrote:
--------------------
> Can anybody explain this? If I make a uicontrol in a GUI-figure:
> 
> fig = figure(... )
> h = uicontrol(fig, ... )
> 
> it appears OK. But when I then try to delete the new
> uicontrol, I get an error:
> 
> delete(h)
>        !--error 77
> delete: wrong number of rhs arguments
> 
> And why is the handle (h) not a graphics handle?
> 
> -->type(h)
>  ans  =
>     1.
> 
> I can use the handle with set(h,...) and get(h, ...).
> 
> /Stefan
> 



More information about the users mailing list