title: Matlab: Linearizing Simulink model and getting linearized transfer function?
body: <p>I want to determine the linearized transfer function from a non-linear system made in Simulink. I can see that it should be possible to use the <code>linmod</code> function in Matlab but when I try this</p>
  
  <pre><code>[num,den]=linmod('sys')
  </code></pre>
  
  <p>I'm not getting the numerator and denominator but instead the state space matrix etc. Can anyone help?</p>