Plot rlocus on an UIAxes of AppDesigner

10 次查看(过去 30 天)
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.

回答(1 个)

Abisay Sigar
Abisay Sigar 2021-7-10
[r,k] = rlocus(sys);
f = figure;
rlocus(sys);
rl = findobj(f, 'Type', 'Axes')
copyobj(rl.Children, app.UIAxes);
delete(f);

类别

Help CenterFile Exchange 中查找有关 Classical Control Design 的更多信息

产品


版本

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by