Flag = islinear(M)
m
[ model ] - Queried model object.Flag
[ true
| false
] - True if the model has been declared linear.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.
m = model('mymodel.file','linear=',true);
islinear(m)
ans =
1