dash.stateVectorVariable.stateVectorVariable

Create a new stateVectorVariable object


Syntax



Description

obj = dash.stateVectorVariable

Returns a new, empty stateVectorVariable object. The object is not linked to a gridfile, so has no dimensions.

obj = dash.stateVectorVariable(grid)

Creates a new stateVectorVariable object linked to a gridfile. By default, all dimensions are set as state dimensions, and all indices are selected for inclusion in the state vector.


Input Arguments

grid

scalar gridfile object
The gridfile that contains the variable’s data.

Output Arguments

obj

scalar stateVectorVariable
The new stateVectorVariable object