Showing robot in app designer UIAxes
11 次查看(过去 30 天)
显示 更早的评论
I want to draw a robot using the show() function from Robotics System Toolbox in App designer UIAxes.
I'm trying to display it using this description: https://www.mathworks.com/help/matlab/creating_guis/graphics-support-in-app-designer.html
However, the function does not work if I put app.UIAxes in the first argument nor if I specify Axes as a Name-Value argument:
show(app.UIAxes, robot);
show(robot, 'Parent',app.UIAxes);
I'm getting:
Undefined function 'show' for input arguments of type 'matlab.ui.control.UIAxes'.
or:
The value of 'Parent' is invalid. Functionality not supported with UIAxes.
Is there any other way to get the show() function into app designer?
0 个评论
回答(1 个)
Cris LaPierre
2022-1-9
编辑:Cris LaPierre
2022-1-9
Do you have the Robotics System Toolbox installed? Type ver in the command window to see. If not, and you have access to it, you can install it using the Add-Ons Explorer.
5 个评论
Lluís Ros
2023-10-5
Is there any progress on solving this issue? In the latest Matlab version, 2023b, rigidBodyTree.show() is still unable to plot the results on app.UIaxes ...
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Robotics 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!