roi Position R2019b

1 visualización (últimos 30 días)
Aina Val Martí
Aina Val Martí el 27 de Abr. de 2020
Respondida: Payas Bahade el 30 de Abr. de 2020
How can I get the position of my drawn rectangle using (drawrectangle(app.UIAxes);) in App designer Matlab?

Respuesta aceptada

Payas Bahade
Payas Bahade el 30 de Abr. de 2020
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!

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by