MATLAB: How to show a rigidbodytree model in App Designer axes

app designerMATLABrigidbodytreerobotRobotics System Toolboxshowuiaxes

So normally when I show a rigidbodytree robot, I use show(). However, I don't know whether show() is supported with UIAxes as the input argument. Basically what I want to do is to show the robot model in UIAxes.
Thanks for the help!

Best Answer

Hi Yi Wan,
Yes, it is working with specify the 'Parent', which axes to host the show().
show(robot,'Parent',ax2)
[Update : Sorry for my mistake, it does not support UIAxes]
load robot.mat
show(robot,'Parent',handles.axes1)
It is working well with guide axes, but not uiaxes. (Guide GUI is attached)