findLabel
(Not recommended) Get project file label
simulinkproject
is not recommended. UsecurrentProject
oropenProject
instead. For more information, seeCompatibility Considerations.
Syntax
Description
returns the label and its attached data for the labellabel
= findLabel(file
,categoryName
,labelName
)labelName
in the categorycategoryName
that is attached to the specifiedfile
or files. Use this syntax when you know the label name and category.
返回文件的标签和t的附加数据he label name and category specified bylabel
= findLabel(file
,labelDefinition
)labelDefinition
. Use this syntax if you previously got alabelDefinition
by accessing aLabels
property, e.g., using a command likemyfile.Labels(1)
.