Documentation conflict for using UIAxes as a parent for imshow?

I have been building an app using app designer that displays an image in a UIAxes. During some troubleshooting, I noticed a conflict in the documentation about how to use imshow in this context:
In this documentation, there is an example showing how you can parent an imshow call to a UIAxes.
However in the reference page for imshow:
Under the parent property it says "...Do not specify a UIAxes as the parent axes."
Which one of these is correct? If we should not use UIAxes as the parent, why is that?

4 Comments

I imagine the 2nd one is old documentation that wasn't updated. If it works it works though, is the simple test. In the beginning UIAxes only supported a limited subset of functionality and images where not one of them in the very first iteration, if I remember correctly so I would guess that comment about 'parent' is a legacy of that.
Yea that makes sense. I have seen older forum posts where people ran into that. Ended up fixing what I needed to, so no issue there.
Thanks!
There is a link at the bottom of help pages to give feedback on things like this though so they can fix it as it probably just slipped through the net with no-one noticing. Oddly, it starts off with asking you 'How useful was this information?', but whatever rating you give you will then be asked if you have further feedback and I have used that in the past to report omissions or mistakes in the help.
Ah ok, yea just submitted some feedback so they can fix it.

Sign in to comment.

 Accepted Answer

Hi,
I have brought this issue to the notice of our team. They will investigate the matter further.
Thanks for notifying.

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!