Simulink Control Design™ - MathWorks

(Tuis.) #1

ans =


struct with fields:


A: 20
b: 5.1667


When batch linearizing for parameter variations, you can obtain the linearization offsets
that correspond to the linearization operating points. To do so, set the StoreOffsets
linearization option.


opt = linearizeOptions('StoreOffsets',true);


Linearize the model using the specified parameter grid, and return the linearization
offsets in the info structure.


[G,~,info] = linearize('watertank',io,params,opt);


You can then use the offsets to configure an LPV System block. To do so, you must first
convert the offsets to the required format. For an example, see “LPV Approximation of a
Boost Converter Model” on page 3-129.


offsets = getOffsetsForLPV(info);


See Also


findop | linearize | linio | ndgrid


More About



  • “Batch Linearization Efficiency When You Vary Parameter Values” on page 3-10

  • “Specify Parameter Samples for Batch Linearization” on page 3-62

  • “Analyze Command-Line Batch Linearization Results Using Response Plots” on page
    3-48

  • “Batch Linearize Model for Parameter Value Variations Using Linear Analysis Tool”
    on page 3-75

  • “LPV Approximation of a Boost Converter Model” on page 3-129


See Also
Free download pdf