how to move a static text box?

조회 수: 1 (최근 30일)
Shree Nath
Shree Nath 2012년 9월 27일
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?

채택된 답변

Tom
Tom 2012년 9월 27일
Check your units, it's probably gone off the figure
get(handles.text1,'Units')

추가 답변 (1개)

Shree Nath
Shree Nath 2012년 9월 27일
yeah you were right, it was set to 'charcters'.. thanks ^-^

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by