how to copy the figure from root locus editor

17 views (last 30 days)
I am using Matlab 2016a, where I ploted root locus for a system in rltool, but could not trace how to copy the figure().

Accepted Answer

Brian Hannan
Brian Hannan on 4 Aug 2017
You can do this by exporting your transfer function from the Control System Designer to the MATLAB workspace and then plotting the root-locus in MATLAB.
As an example, you can run the commands
h = tf([2 5 1], [1 2 3]);
rltool(h);
and then select Export, select LoopTransfer_C, and hit the Export button. LoopTransfer_C is now in the MATLAB workspace. Now use
rlocus(LoopTransfer_C)
to recreate the root-locus figure.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!