# linearize

## Description

extracts a sparse linear model for use with Control System Toolbox™. For a structural analysis model, `sys`

= linearize(`model`

)`linearize`

extracts a
`mechss`

(Control System Toolbox) model.
For a thermal analysis model, it extracts a `sparss`

(Control System Toolbox) model.
For transient models, `linearize`

uses time 0.

Use `linearizeInput`

to
specify the inputs of the linear model that correspond to external forcing, such as loads or
internal heat sources. The toolbox treats the value of each selected constraint, load, or
source as a constant, and the value becomes one input channel in the linearized model. The
remaining boundary conditions are set to zero for linearization purposes, regardless of
their value in the structural or thermal model. Ensure that you label all nonzero boundary
conditions and pass them as inputs using `linearizeInput`

.

Use `linearizeOutput`

to
specify the outputs of the linear model in terms of regions of the geometry, such as cells
(for 3-D geometries only), faces, edges, or vertices. This includes all degrees of freedom
(DoFs) in the specified region as output values. For structural models, you can also specify
which of the *x*, *y*, and *z* degrees of
freedom to include as outputs.

Use `sys.InputName`

and `sys.OutputGroup`

to locate
the inputs and outputs of `sys`

that correspond to a particular boundary
condition or to a selected region.

## Examples

## Input Arguments

## Output Arguments

## Version History

**Introduced in R2021b**