systemcomposer.arch.Model

Represent a System Composer model

Description

Use the Model class to create and manage architecture objects in a System Composer™ model.

Creation

objModel = systemcomposer.createModel(modelName)

The method createModel is the constructor for the systemcomposer.arch.Model class.

Properties

expand all

Data Types: char | string

Data Types: systemcomposer.arch.Architecture

Handle to the Simulink® representation of the System Composer model.

Data Types: double

Array of handles to profiles attached to the model.

Data Types: systemcomposer.internal.profile.Profile

Dictionary object that holds interfaces. If the model is not linked to an external dictionary, this is a handle to the implicit dictionary

Data Types: systemcomposer.interface.Dictionary

Array of handles to model views.

Example: objViewArchitecture = get(objModel, 'Views')

Data Types: systemcomposer.view.ViewArchitecture

Object Functions

openOpen System Composermodel
saveSave the architecture model or data dictionary
applyProfileApply profile to a model
removeProfileRemove profile from a model
linkDictionaryLink data dictionary to an architecture model
unlinkDictionaryUnlink dictionary from a model
lookupLookup an architecture element
openViewsOpen architecture views editor
findFind model elements
createViewArchitectureCreate a view

Introduced in R2019a