stateVector.label

Set or return the label of a stateVector object


Syntax



Description

label = obj.label

Returns the current label of the stateVector object.

obj = obj.label(label)

Applies a new label to a stateVector object.


Input Arguments

label

string scalar
The new label to apply to a stateVector object.

Output Arguments

label

string scalar
The current label of a stateVector object.

obj

scalar stateVector object
The stateVector object with an updated label.