Check model for blocks with nonlinear equations
checks
a model and reports which blocks, if any, contain nonlinear equations
that keep the physical networks in the model from being linear or
switched linear. blockList
= simscape.findNonlinearBlocks(modelName
)modelName
is the name of the
model, in single quotes.
You do not have to open the model before using the function.
The function reports how many physical networks in the model are linear or switched linear, how many networks are nonlinear because of the nonlinear blocks, and which blocks have nonlinear equations. It returns a cell array of the block names. If none of the blocks have nonlinear equations, the cell array is empty.
This function does not work with Simscape™ Multibody™ networks.