gridfile.addAttributes
Add attributes to gridfile metadata
Syntax
Description
Adds the named fields and associated values to the metadata attributes of the current gridfile.
Uses a Name,Value syntax to add attributes.
Input Arguments
fields
string vector [nFields]
A list of fields to add to the attributes structure.
values
cell vector [nFields]
The values associated with each new attributes field.
fieldN
string scalar
The name of a new field for the attributes structure. Must be a valid Matlab variable name and cannot duplicate any fields already in the attributes.
valueN
any data type
The value associated with the new attributes fields.