shortcuts(2)
ans =
Shortcut with properties:
Name: "Requirements"
Group: "Documentation"
File: "C:\MATLAB\Projects\examples\TimesTableApp1\utilities\openRequirementsDocument.m"
Get the file path of a shortcut.
shortcuts(3).File
ans =
"C:\MATLAB\Projects\examples\TimesTableApp1\utilities\runTheseTests.m"
Examine all the files in the shortcuts list.
{shortcuts.File}'
ans = 4×1 cell array
{["C:\MATLAB\Projects\examples\TimesTableApp1\source\timestable.mlapp" ]}
{["C:\MATLAB\Projects\examples\TimesTableApp1\utilities\openRequirementsDocument.m"]}
{["C:\MATLAB\Projects\examples\TimesTableApp1\utilities\runTheseTests.m" ]}
{["C:\MATLAB\Projects\examples\TimesTableApp1\utilities\runTimesTable.m" ]}
Label files
Create a new category of labels of type char. In the Times Table App project, the new
Engineers category appears in the Labels pane.
createCategory(mainProject,'Engineers','char')
ans =
Category with properties:
Name: "Engineers"
SingleValued: 0
DataType: "char"
LabelDefinitions: [1×0 matlab.project.LabelDefinition]
Define a new label in the new category.
31 Projects