Simulink Control Design™ - MathWorks

(Tuis.) #1

Create a vector of analysis points for linearizing the plant model:



  • Input perturbation at the output of the Controller block

  • Open-loop output at the output of the Magnetic Ball Plant block


io(1) = linio('magball/Controller',1,'input');
io(2) = linio('magball/Magnetic Ball Plant',1,'openoutput');


Write the analysis points to the magball model.


setlinio(model,io);


The analysis points in io are added to the model as annotations. You can then save the
model to store the analysis points with the model.


Set Analysis Points in Linear Analysis Plots Block


Open Simulink model.


open_system('scdcstr')


setlinio
Free download pdf