Open the Times Table App project. Use currentProject
to create a project object from the currently loaded project.
Use findCategory
to get a category of labels by
name.
category =
Category with properties:
Name: "Classification"
SingleValued: 1
DataType: "none"
LabelDefinitions: [1×7 matlab.project.LabelDefinition]
Alternatively, you can get categories by index. Get the first
category.
ans =
Category with properties:
Name: "Classification"
SingleValued: 1
DataType: "none"
LabelDefinitions: [1×7 matlab.project.LabelDefinition]
Find out what you can do with the category.
Methods for class matlab.project.Category:
createLabel findLabel removeLabel