
Export transfer functions from Control System Design App
13 views (last 30 days)
Show older comments
In the Control System Design App I tuned the gains in my model according to my requirements (simple gains block without PID or Filters blocks). After I finished tuning I want to export the tuned gains but I also want to export the transfer functions Simulink create (The TFs that represented in the graphs I tuned according to them).
The default name of these TFs is "LoopTrasfer_(Hierarchy of the block you want to tune)", but I cannot see this TF in the app and cannot export it to MATLAB work space.
I didn't find any way to do that, although it seems to me that it supposed to be pretty basic capability. I am working with MATLAB 2020a.
0 Comments
Answers (1)
Sam Chak
on 15 Dec 2022
Hi @Gili
Check if you can click <Export> and able to select the desired model LoopTransfer_C from list in the Export Model dialog box.
If you can export the Loop Transfer model to Workspace, then enter this to obtain the transfer function:
tf(LoopTransfer_C)

1 Comment
Matt
ongeveer 9 uur ago
This yields the open-loop transfer function C(s)G(s), I believe. It seems to me that that @Gili wanted the closed-loop transfer function, based on the comment that it should be the one "that represented in the graphs [she] tuned according to them." To get the closed-loop transfer function, one could enter
feedback(tf(LoopTransfer_C), 1)
See Also
Categories
Find more on Classical Control Design in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!