dash.stateVectorVariable.metadata
Sets metadata options for dimensions of a state vector variable
Syntax
Description
Use raw gridfile metadata for the indicated dimensions.
Use user-provided metadata for the indicated dimensions.
Convert metadata for the indicated dimensions using the specified functions and inputs.
Input Arguments
dims
vector, linear indices [nDimensions]
The dimensions that should have their metadata options updated.
metadata
cell vector [nDimensions] {metadata matrix}
Alternate metadata to use for each dimension.
conversionFunctions
cell vector [nDimensions] {function*_*handle}
Handle to the conversion function to use for each dimension.
conversionArgs
cell vector [nDimensions] {cell vector}
Additional input arguments to the conversion function for each dimension.
header
string scalar
Header for thrown error IDs.
Output Arguments
obj
scalar dash.*stateVectorVariable* object
The variable with updated metadata parameters.