renameProfile

Rename profile in model

    Description

    renameProfile(modelName,oldProfileName,newProfileName) renames a profile on a model from oldProfileName to newProfileName.

    Input Arguments

    collapse all

    Model architecture, specified as a systemcomposer.arch.Model object or a character vector as the name of the model.

    Example: 'MyModel'

    Example: archModel

    Data Types: char

    Old profile name, specified as a character vector.

    Example: 'MyProfile'

    Data Types: char

    New profile name, specified as a character vector.

    Example: 'MyProfileNew'

    Data Types: char

    See Also

    | |

    Introduced in R2020b