How can I copy the figures produced in rltool?

조회 수: 2 (최근 30일)
Nathan Maltba
Nathan Maltba 2017년 3월 31일
답변: Star Strider 2017년 3월 31일
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.

답변 (1개)

Star Strider
Star Strider 2017년 3월 31일
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

카테고리

Help CenterFile Exchange에서 Classical Control Design에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by