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