How to show a rigidbodytree model in App Designer axes?

7 ビュー (過去 30 日間)
Yi Wan
Yi Wan 2018 年 10 月 22 日
コメント済み: Yi Wan 2018 年 10 月 23 日
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!

採用された回答

Kevin Chng
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]
load robot.mat
show(robot,'Parent',handles.axes1)
It is working well with guide axes, but not uiaxes. (Guide GUI is attached)
  3 件のコメント
Kevin Chng
Kevin Chng 2018 年 10 月 22 日
Modified my answer for it.
Yi Wan
Yi Wan 2018 年 10 月 23 日
Hi Kevin,
Thanks for the answer. Hopefully, they can also support App Designer soon...

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeManipulator Modeling についてさらに検索

製品


リリース

R2018b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by