gridMetadata.editAttributes
Replace non-dimensional attributes with new values
Syntax
Description
Replaces the values of the named attribute fields with new values.
Uses a Name,Value syntax to edit attributes.
Input Arguments
fields
string vector [nFields]
A list of fields to edit to the attributes structure.
values
cell vector [nFields]
The new values associated with each edited attributes field.
fieldN
string scalar
The name of a field in the current gridMetadata object’s attributes structure.
valueN
any data type
The new value to use for the attributes field.
Output Arguments
obj
gridMetadata object
The updated gridMetadata object