gridfile.editAttributes

Change existing metadata attributes


Syntax



Description

obj.editAttributes(fields, values)

Replaces the values of the named metadata attributes fields with new values.

obj.editAttributes(field1, value1, field2, value2, .., fieldN, valueN)

Uses a Name,Value syntax to edit attribute fields.


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 metadata attributes structure.

valueN

any data type
The new value to use for the field.