roi Position R2019b
조회 수: 1 (최근 30일)
이전 댓글 표시
How can I get the position of my drawn rectangle using (drawrectangle(app.UIAxes);) in App designer Matlab?
댓글 수: 0
채택된 답변
Payas Bahade
2020년 4월 30일
Hi Aina,
The attached code for an app will let you draw a ROI as a rectangle in UIAxes and store the position of it in MATLAB base workspace as a variable ‘Position’. The position is updated if the any modifications are done to the drawn rectangle like resizing or dragging.
Hope this helps!
댓글 수: 0
추가 답변 (0개)
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!