IRIS Toolbox Reference Manual

islinear

True for models declared as linear

Syntax

Flag = islinear(M)

Input arguments

Output arguments

Description

The value returned dependes on whether the model has been declared as linear by the user when constructing the model object by calling the model/model function. In other words, no check is performed whether or not the model is actually linear.

Example

m = model('mymodel.file','linear=',true);
islinear(m)
ans =
     1