Main Content


(Not recommended) Remove project category of labels

simulinkproject is not recommended. Use currentProject or openProject instead. For more information, see Compatibility Considerations.



removeCategory(proj,categoryName) removes a category of labels, categoryName, from the project specified by proj.


collapse all

Open the airframe project and create a project object.

proj = simulinkproject;

Create a new category of labels.


Remove the new category of labels.


A message appears warning you that you cannot undo the operation. Click Continue. You can configure warnings in the Preferences in the Project Tool.

Input Arguments

collapse all

Project, specified as a project object. Use simulinkproject to create a project object to manipulate a project at the command line.

Name of the category to remove, which exists in the project, specified as a character vector.

Compatibility Considerations

expand all

Not recommended starting in R2019a

Introduced in R2013a