findLabel
Syntax
Description
指定的标签,在指定的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 alabel
= findLabel(file
,labelDefinition
)labelDefinition
by accessing aLabels
property, for instance by using an expression likemyfile.Labels(1)
.
Examples
Input Arguments
Output Arguments
版本;n History
Introduced in R2019a