Specifications
4 Designing Controllers Using the Command Line
4-6
In this example, the review command found two potential issues in this design. The
first warning asks whether the user intends to have zero weight on the C_A output. The
second warning asks the user to avoid having hard constraints on both MV and MVRate.
Perform Linear Simulations
To run a linear simulation, use the sim function. For example, given the MPCobj
controller defined in the previous section, type: