Delete a uicontrol
Stefan Du Rietz
sdr at durietz.se
Thu Jul 10 15:40:44 CEST 2008
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