(Not recommended) Define project label
simulinkproject
is not recommended. Use currentProject
or openProject
instead. For more information, see Compatibility Considerations.
createLabel(
creates a new label, category
,newLabelName
)newLabelName
, in a category. Use this
syntax if you previously got a category
by accessing a
Categories
property, e.g., using a command like
proj.Categories(1)
.
Use addLabel
instead to create and
attach a new label in an existing category using a single step.
Use createCategory
first if you want
to make a new category of labels.