linearize
Linearize structural or thermal model
Description
extracts a sparse linear model for use with Control System Toolbox™. For a structural analysis model,sys
= linearize(model
)linearize
extracts amechss
(Control System Toolbox)model. For a thermal analysis model, it extracts asparss
(Control System Toolbox)model. For transient models,linearize
uses time 0.
UselinearizeInput
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 usinglinearizeInput
.
UselinearizeOutput
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 thex,y, andzdegrees of freedom to include as outputs.
Usesys.InputName
andsys.OutputGroup
to locate the inputs and outputs ofsys
that correspond to a particular boundary condition or to a selected region.