findLabel
Syntax
Description
gets the specified label, in the specified category, from the specified file. It
returns the label definition and its attached data. Use this syntax when you know
the label name and category. If the label is not found,
label
= findLabel(file
,categoryName
,labelName
)findLabel
returns an empty array.
gets the label defined by the specified label definition object. Use this syntax if
you previously got a label
= findLabel(file
,labelDefinition
)labelDefinition
by accessing a
Labels
property, for instance by using an expression like
myfile.Labels(1)
.
Examples
Input Arguments
Output Arguments
Version History
Introduced in R2019a
See Also
currentProject
| openProject
| findFile
| createLabel
| addLabel