Main Content

systemcomposer.createActivity

Create System Composer activity diagram

Since R2024a

    Description

    systemcomposer.createActivity(activityName) creates a System Composer™ activity diagram with the name activityName and opens the activity diagram.

    example

    Examples

    collapse all

    Create an activity diagram and open it.

    systemcomposer.createActivity("activity_name")

    Input Arguments

    collapse all

    Name of new activity diagram, specified as a character vector or string. This name must be a valid MATLAB® identifier.

    Example: "activity_name"

    Data Types: char | string

    More About

    collapse all

    Version History

    Introduced in R2024a