createProfile

Create profile

Syntax

profile = systemcomposer.createProfile(profileName)

Description

profile = systemcomposer.createProfile(profileName) creates a new profile object of type systemcomposer.profile.Profile to set up a set of stereotypes. To save a profile in a different directory, type profile.save(‘my/New/File/Path/’).

Input Arguments

expand all

Name of the new profile, specified as a string.

Example: 'new_profile'

Data Types: char | string

Output Arguments

expand all

Examples

systemcomposer.createProfile('new_profile')
profile = systemcomposer.createProfile('new_profile')

Introduced in R2019a