Export MIMO Root Locus from Control System Designer

24 次查看(过去 30 天)
I am using the Control System Designer to find the root-locus plot of a MIMO system. Below is what I'm looking at:
I want to export these root-locus plots to tradtional MATLAB figures in some way so that I can automatically save them. I am not sure how to couple the Control System Designer interface and the main MATLAB workspace. It's okay if I end up using plot or something like that; I just want to have access to the raw data in some way. I am able to couple the SIMULINK outputs etc. to the main workspace, but connecting the Control System Designer to the workspace is proving difficult.
Thanks for any help.

回答(1 个)

Arthi Sathyamurthi
Arthi Sathyamurthi 2021-12-27
Hello Jacob,
You can use the Export -> Export Tuned Blocks option in the Control System Designer to export tuned block values to MATLAB workspace. You can export selected models to the MATLAB workspace and use the rlocus(system) or rlocusplot(system) function, where system is the model exported to MATLAB previously to plot the root locus of the system. Now, you can save these figures as MATLAB figures with the extension, .fig.
If you want to save these root locus plot as images with formats .png, .jpg, .tiff, or .pdf click on the small arrow near the title of the root locus plot window and click on Save button.
  2 个评论
Publius
Publius 2021-12-29
Hi Arthi,
I was looking for exactly this, but I don't seem to have it. That little bar just doesn't show up. The only thing that I can think of is versioning. I am using 2020b; which version are you using?
Thanks, Jacob
Arthi Sathyamurthi
Arthi Sathyamurthi 2021-12-29
Hello Jacob,
You can find this functionality from MATLAB 2021a onwards. Thanks

请先登录,再进行评论。

类别

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