Create an slLinearizer interface for the model.
sllin = slLinearizer(mdl);
To obtain the loop transfer function at e, add this point to sllin as an analysis point.
addPoint(sllin,'e');
Obtain the loop transfer function at e.
sys = getLoopTransfer(sllin,'e');
tf(sys)
ans =
From input "e" to output "e":
-3
s + 5
Continuous-time transfer function.
The software adds a linearization output, breaks the loop, and adds a linearization input,
de, at e.
sys is the transfer function from de to e. Because the software assumes positive-
feedback, it returns sys as.
getLoopTransfer