Clear Filters
Clear Filters

Roipoly on UI axes

4 views (last 30 days)
Igor Vidic
Igor Vidic on 27 Sep 2017
Edited: Neil Guertin on 12 Oct 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

Accepted Answer

Neil Guertin
Neil Guertin on 11 Oct 2017
Edited: Neil Guertin on 12 Oct 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

More Answers (0)

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!