Trimming a subsystem in simulink
Show older comments
I am trying to linearize a nonlinear model. The nonllinear model is a subsystem in my simulink model file. I defined my I/O signals in simulink model but when I am trying to find the operating point for linearization i.e. trimming the model, simulink says that my model does not have any input or output points. My whole simulink model file does not have any inputs or output ports but a subystem of my model has them and I want to linearize only that subystem.
On the other hand, I am able to linearize this subsystem because linearize function allows me to linearize individual blocks or subsystems. But I cannot choose a trimming point about which I want to linearize the subystem. Does Simulink allow me to do this?
2 Comments
Ryan G
on 11 Mar 2013
Can you upload an image of your model showing the input and output points?
Are you using the linearization GUI or the trim function? If you use the GUI you can export into MATLAB code once it is successful for easier implementation.
Shyam Mudiraj
on 11 Mar 2013
Accepted Answer
More Answers (1)
YI YANG
on 28 Nov 2016
0 votes
I have the exactly the same question on how to linearize my simulink block. I think my case is a little bit more complicated than Shyam's. All my 8 states won't be stable if there's no input signals, which means I must specify my input signals before doing the linearization. Are there any tricks here let me tell simulink what my inputs are?
Thanks so much
Categories
Find more on Schedule Model Components 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!