editLabelDefinition
Edit label definition properties
Description
editLabelDefinition(
changes the lss
,lblname
,propname
,val
)propname
property of the label or sublabel definition
lblname
to val
.
The function can edit only the Name, DefaultValue, Tag, Description, and Categories properties. To change
any other property of the label definition, remove the definition using removeLabelDefinition
and add a definition with the desired property values
using addLabelDefinitions
.
If you edit the DefaultValue property, all existing label values remain unchanged. The new default value applies only to new members, new regions, or new points.
You can edit the Categories property only when the LabelDataType of the target label or sublabel definition is
'Categorical'
.
New specified categories do not replace any existing categories. They are appended to the existing values.
Examples
Input Arguments
Version History
Introduced in R2018b