Plot rlocus on an UIAxes of AppDesigner
1 view (last 30 days)
Show older comments
Trying to plot rlocus of a dynamic SISO system in an UIAxes of AppDesigner, it seems that rlocusplot is not compatible with that kind of Axes.
Is there any way to do that quicker than obtaining the location of the roots in the complex plane with
[r,k] = rlocus(sys)
and plot them manually?
Thank you in advance for any help.
0 Comments
Answers (1)
Abisay Sigar
on 10 Jul 2021
[r,k] = rlocus(sys);
f = figure;
rlocus(sys);
rl = findobj(f, 'Type', 'Axes')
copyobj(rl.Children, app.UIAxes);
delete(f);
0 Comments
See Also
Categories
Find more on Classical Control Design 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!