can getpixelposition() be used for uifigure?

조회 수: 1 (최근 30일)
Xiangrui Li
Xiangrui Li 2020년 10월 28일
답변: Aman Vyas 2020년 11월 6일
getpixelposition(hObj, recursive) is a convenient function to get the position of an object, especially when recursive is true.
The documentation says it should be used only for legacy figure/GUIDE. But based on my limited test, it works fine for uifigure without any warning.
Is the documentation a little outdated, or is there any consideration to avoid using it for uifigure?

채택된 답변

Aman Vyas
Aman Vyas 2020년 11월 6일
Hi,
getpixelposition is supported in uifigure. The documentation pages should update in future releases.
Aman

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Develop uifigure-Based Apps에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by