How to show a rigidbodytree model in App Designer axes?
조회 수: 4 (최근 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!