roi Position R2019b

4 ビュー (過去 30 日間)
Aina Val Martí
Aina Val Martí 2020 年 4 月 27 日
回答済み: Payas Bahade 2020 年 4 月 30 日
How can I get the position of my drawn rectangle using (drawrectangle(app.UIAxes);) in App designer Matlab?

採用された回答

Payas Bahade
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 件)

Community Treasure Hunt

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

Start Hunting!

Translated by