Quantcast

Documentation Center

  • Trial Software
  • Product Updates

isstatic

Determine if model is static or dynamic

Syntax

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

Description

B = isstatic(sys) returns 1 (true) if the model sys is a static model, and and 0 (false) if sys has dynamics such as states or delays. If sys is a model array, then B is true 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

expand all

sys — Model or array to checkinput-output model | model array

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

expand all

B — Flag indicating whether input model is staticlogical | logical array

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

See Also

| |

Was this topic helpful?