Contenido principal

systemcomposer.activity.Model

Activity diagram model

Since R2026a

    Description

    A Model object is used to manage activity objects in an activity diagram model.

    Creation

    Create a model using the systemcomposer.createActivity function.

    objModel = systemcomposer.createActivity('NewModel')

    Properties

    expand all

    Name of model, specified as a character vector. This property must be a valid MATLAB® identifier.

    Example: 'adModel'

    Data Types: char

    Simulink® handle, specified as a double.

    This property is necessary for several Simulink workflows and for using Requirements Toolbox™ programmatic interfaces.

    Example: handle = get(object,'SimulinkHandle')

    Data Types: double

    Dictionary with types definitions, specified as a systemcomposer.interface.Dictionary object. If the model is not linked to an external dictionary, this property is a handle to the implicit dictionary.

    Profiles attached to model, specified as an array of systemcomposer.profile.Profile objects.

    Root activity of the model, specified as systemcomposer.activity.Activity object.

    Object Functions

    applyProfileApply profile to model
    applyStereotypeOrderApply provided stereotype order to model
    closeClose activity diagram model
    decreaseStereotypeOrderMove stereotype one level down
    getStereotypeNamesByOrderGet stereotype names by stereotype order in model
    increaseStereotypeOrderMove stereotype one level up
    linkDictionaryLink data dictionary to architecture model
    openOpen activity diagram model
    removeProfileRemove profile from model
    renameProfileRename profile in model
    saveSave activity diagram model
    saveToDictionarySave interfaces to dictionary
    unlinkDictionaryRemove linked data dictionary from architecture model

    More About

    expand all

    Version History

    Introduced in R2026a