Main Content

systemcomposer.exportToSoftwareArchitecture

Export current model to new software architecture model

Since R2023b

    Description

    systemcomposer.exportToSoftwareArchitecture(srcModelName,dstModelName) exports the architecture model specified by srcModelName to the software architecture model specified dstModelName and saves the generated software architecture model in the current folder.

    example

    systemcomposer.exportToSoftwareArchitecture(srcModelName,dstModelName,TargetFolder) saves the generated software architecture in the folder specified by TargetFolder.

    example

    Examples

    collapse all

    Create an architecture model named myArchitectureModel.

    model = systemcomposer.createModel('myArchitectureModel','Architecture');
    save(model);
    systemcomposer.exportToSoftwareArchitecture('myArchitectureModel', ...
                    'mySoftwareArchitectureModel');

    Create an architecture model, then export that model to a new software architecture model. Save in a specified folder.

    model = systemcomposer.createModel('myArchitectureModel','Architecture');
    save(model);
    systemcomposer.exportToSoftwareArchitecture('myArchitectureModel', ...
                    'mySoftwareArchitectureModel',TargetFolder='./System')

    Input Arguments

    collapse all

    Name of source model, specified as a character vector or string.

    Example: 'myArchitectureModel'

    Data Types: char | string

    Name of destination model, specified as a character vector or string.

    Example: 'mySoftwareArchitectureModel'

    Data Types: char | string

    Location of generated software architecture model file, specified as a character vector or string. The function places the generated model file in this folder.

    Data Types: char | string

    More About

    collapse all

    Version History

    Introduced in R2023b