How can I use the show robot function embedded in a MATLAB app/GUI
Show older comments
Hello,
I am trying to use these functions:
https://ch.mathworks.com/help/robotics/ref/rigidbodytree.show.html and https://ch.mathworks.com/help/robotics/ref/interactiverigidbodytree.showfigure.html
to plot and have an interactive rigid body tree in a figure that is embedded in a MATLAB app/GUI.
The routine way doesnt work:
show(app.ax_robot, lbr);
I also tried the work around that is described Here (https://ch.mathworks.com/matlabcentral/answers/517676-how-plot-step-lsim-in-an-uifigure-in-app-designer).
And it doesn't work as well. This outputs an error:
"Error using uicontrol
Functionality not supported with figures created with the uifigure function."
Thanks
Answers (1)
Remo Pillat
on 8 Mar 2023
0 votes
Unfortunately, embedding robot visualizations in an app figure / axis is not currently supported. We are aware of this limitation and we are exploring ways to enable this workflow.
2 Comments
Riccardo Secoli
on 14 Feb 2024
any updates to overcome this limitation?
Ran Shaham
on 8 Sep 2025
Categories
Find more on Develop Apps Using App Designer in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!