Main Content

createSubsystemBehavior

Add subsystem behavior to component

Since R2021b

    The createSubsystemBehavior function is not recommended. Use the createSimulinkBehavior function instead. For more information, see Compatibility Considerations.

    Description

    createSubsystemBehavior(component) adds subsystem behavior to the component component. The connections, interfaces, requirement links, and stereotypes of the component are preserved. The component must have no subcomponents and must not already be linked to a model.

    Input Arguments

    collapse all

    Component with no subcomponents, specified as a systemcomposer.arch.Component object.

    Version History

    Introduced in R2021b

    collapse all

    R2022a_plus: createSubsystemBehavior function is not recommended

    The createSubsystemBehavior function is not recommended. Use the createSimulinkBehavior function instead.