Documentation

removeCategory

Remove Simulink Project category of labels

Syntax

  • removeCategory(proj,categoryName)
    example

Description

example

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

Examples

collapse all

Open the airframe project and create a project object.

sldemo_slproject_airframe;
proj = simulinkproject;

Create a new category of labels.

createCategory(proj,'Engineers','char');

Remove the new category of labels.

removeCategory(proj,'Engineers');

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

Input Arguments

collapse all

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

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

Introduced in R2013a


Was this topic helpful?