systemcomposer.profile.Profile.createProfile

Create profile

Description

profile = systemcomposer.profile.Profile.createProfile(profileName,dirPath) creates a new profile object of type systemcomposer.profile.Profile to setup a set of stereotypes. The dirPath argument specifies the directory in which the profile is to be created.

profile = systemcomposer.profile.Profile.createProfile(profileName) creates a new profile with name profileName.

Example

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

Input Arguments

expand all

Name of new profile, specified as a character vector.

Example: 'new_profile'

Data Types: char

Directory path where the profile will be saved, specified as a character vector.

Example: 'C:\Temp\MATLAB'

Data Types: char

Output Arguments

expand all

Profile handle, returned as a systemcomposer.profile.Profile object.

Introduced in R2019a