How to I efficiently connect Matlab data to Simulink Blocks?
Show older comments
I have generated a compensator using the SISOTOOL for a system that I have already implemented in Simulink. I'm trying to figure out the most efficient way to: (1) store the compensator as a matlab variable, and (2) use that compensator (which is stored in the form of a linear system transfer function) in a discrete transfer function block
I want to automate all the steps in between, so I only have to re-run my Matlab script to generate my simulation report, but I am having trouble figuring out how to link the transfer function stored in the variable "Compensator" into a Simulink block linked to the plant that already exists.
Accepted Answer
More Answers (0)
Categories
Find more on Classical Control Design in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!