Create named interface in interface dictionary
Add an interface
'newInterface' to the specified
interface = addInterface(dictionary,'newInterface')
Add a named interface that mirrors an existing Simulink bus object to a specified dictionary.
interface = addInterface(dictionary,'newInterface','SimulinkBus','myBus')
dictionary— Data dictionary attached to architecture model
Data dictionary attached to architecture model, specified as a
systemcomposer.interface.Dictionary object. This is the default data
dictionary that defines local interfaces or an external data dictionary that carries
interface definitions. If the model links to multiple data dictionaries, then
dictionary must be the one that carries interface definitions.
For information on how to create a dictionary, see
name— Name of new interface
Name of new interface, specified as a character vector.
busObject— Simulink bus object that new interface mirrors
Simulink bus object that new interface mirrors where the interface is already defined, specified as a Simulink bus object.