- Open the model and navigate to Apps > Control Design > Linear Analysis.
- In the Linear Analysis Tool:
- Select the input and output points for linearization (these are typically your MPC input and output).
- Compute the linear model using "Bode plot" or "Step Response" analysis.
- If successful, export the linear model to the MATLAB workspace and use it for the MPC design
- Identify components in the model that may not be linearizable.
- Replace such blocks with linear approximations.