How can I copy the figures produced in rltool?

2 visualizzazioni (ultimi 30 giorni)
Nathan Maltba
Nathan Maltba il 31 Mar 2017
Risposto: Star Strider il 31 Mar 2017
I am using the rltool command to generate a root locus for a controller, and I need to copy the root locus and step response figures that it produces to a Word document for printing (it's for a homework assignment). With other figures, I can simply use the "copy figure" option from the edit menu. However, there is no edit menu when I am using rltool. The rlocus command gives me a figure I can copy, but I am not able to apply design requirements to that figure. So if anyone knows how to copy the figures directly from rltool, that would be immensely helpful. If it's important, I am using MATLAB R2016b on a Mac.

Risposte (1)

Star Strider
Star Strider il 31 Mar 2017
See if the rlocusplot will give you the options you want. The documentation says it was introduced prior to R2006a, so you have it as part of the Control System Toolbox.
Example:
h = tf([2 5 1],[1 2 3]);
hrl = rlocusplot(h);
grid
axis equal
rl_prop = get(hrl); % ‘rlplot’ Properties

Community Treasure Hunt

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

Start Hunting!

Translated by