Azzera filtri
Azzera filtri

Roipoly on UI axes

4 visualizzazioni (ultimi 30 giorni)
Igor Vidic
Igor Vidic il 27 Set 2017
Modificato: Neil Guertin il 12 Ott 2017
Hi, I am trying to use roipoly/impoly on UIaxes (showing image using imshow)), I was wondering is it at all possible to do it? I tried setting UIAxes/UIFigure as current figure (it seems that UIAxes doesn't support HG_group...), also I tried giving UIAxes as the input to roipoly/impoly but without success. I am using matlab 2016b, but might upgrade if needed. Does anyone know how to use roipoly/impoly on UIaxes or in matlab app designer on some image? I would also need to add overlay. Thank you

Risposta accettata

Neil Guertin
Neil Guertin il 11 Ott 2017
Modificato: Neil Guertin il 12 Ott 2017
roipoly and impoly are not supported in App Designer as of R2017b.
The error message in R2016b and R2017a says "HPARENT must be able to have an hggroup object as a child." Support for hggroups was added in R2017b, but roipoly and impoly also rely on other behavior that is not currently supported in App Designer.
For more information, see the following page on Graphics Support in App Designer. http://www.mathworks.com/help/matlab/creating_guis/graphics-support-in-app-designer.html

Più risposte (0)

Categorie

Scopri di più su Develop Apps Using App Designer in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by