How to show a rigidbodytree model in App Designer axes?
3 次查看(过去 30 天)
显示 更早的评论
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!
0 个评论
采纳的回答
Kevin Chng
2018-10-22
编辑:Kevin Chng
2018-10-22
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]
Therefore, I recommend you use Guide instead of app designer : https://www.mathworks.com/help/matlab/creating_guis/differences-between-app-designer-and-guide.html
load robot.mat
show(robot,'Parent',handles.axes1)
It is working well with guide axes, but not uiaxes. (Guide GUI is attached)
3 个评论
更多回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Manipulator Modeling 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!