Documentation

Choosing Batch Linearization Tools

You can perform batch linearization using the Linear Analysis Tool. Alternatively, perform batch linearization at the MATLAB® command line, using either the linearize function or the slLinearizer interface. Use the following table to choose a batch linearization tool.

Reasons to Use Linear Analysis ToolReasons to Use linearizeReasons to Use slLinearizer Interface
  • You are new to Simulink® Control Design™ or have experience with Linear Analysis Tool.

  • You are new to Simulink Control Design or have experience with Linear Analysis Tool, and you prefer to work at the command line or in a repeatable script.

    The workflow for using linearize closely mirrors the workflow for linearizing models using the Linear Analysis Tool. When you generate MATLAB code from the Linear Analysis Tool to reproduce your session programmatically, this code uses linearize. You can easily modify this code to batch linearize a model.

  • You are extracting linearizations for only one I/O set (single transfer function).

  • You want to obtain multiple open-loop and closed-loop transfer functions without modifying the model or creating a linearization I/O set (using linio) for each transfer function.

  • You want to obtain multiple open-loop and closed-loop transfer functions without recompiling the model for each transfer function.

    You can also use linearize or the Linear Analysis Tool to obtain multiple open-loop and closed-loop transfer functions. However, the software recompiles the model each time you change the I/O set.

Related Examples

More About

Was this topic helpful?