This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.


Determine if model is static or dynamic


B = isstatic(sys)
B = isstatic(sys,'elem')


B = isstatic(sys) returns a logical value of 1 (true) if the model sys is a static model, and a logical value of 0 (false) if sys has dynamics, such as states or delays. If sys is a model array, then B = 1 if all models in sys are static.

B = isstatic(sys,'elem') checks each model in the model array sys and returns a logical array of the same size as sys. The logical array indicates which models in sys are static.

Input Arguments

collapse all

Model or array to check, specified as an input-output model or model array. Input-output models include dynamic system models such as numeric LTI models and generalized models. Input-output models also include static models such as tunable parameters or generalized matrices.

Output Arguments

collapse all

Flag indicating whether input model is static, returned as a logical value or logical array.

Introduced in R2013a