MATLAB: How to move a static text box

guiguidetext box

I am trying to move a gui static text box progamatically, by pushing a button which performs - "set(handles.text1,'Position',[25 43 23 12]);"
but this doesn't work, the static text box just gets disappeared.
is their any other way to do it?

Best Answer

Check your units, it's probably gone off the figure
get(handles.text1,'Units')