addInterface
Create named data interface in data dictionary
Syntax
Description
adds the data interface specified by name interface = addInterface(dictionary,name)name to the data dictionary
dictionary.
To remove an interface, use the removeInterface function.
constructs a data interface that mirrors an existing Simulink® bus object.interface = addInterface(dictionary,name,SimulinkBus=busObject)
Examples
Input Arguments
Output Arguments
More About
Version History
Introduced in R2019a
See Also
Functions
moveInterface|addPhysicalInterface|removeInterface|createInterface|setName|setInterface|getInterface|getInterfaceNames|addElement|removeElement|getElement|setName|setType|createOwnedType|getSourceElement|getDestinationElement|systemcomposer.createDictionary|systemcomposer.openDictionary|saveToDictionary|isOpen|getFileName|linkDictionary|unlinkDictionary|addReference|removeReference|makeOwnedInterfaceShared|addValueType|createInterface|setName|setDataType|setDimensions|setUnits|setComplexity|setMinimum|setMaximum|setDescription|addServiceInterface|setFunctionPrototype|getFunctionArgument|setAsynchronous|systemcomposer.getSelectedInterfaces|IsAdapterComponent
Objects
systemcomposer.ValueType|systemcomposer.interface.DataInterface|systemcomposer.interface.DataElement|systemcomposer.interface.PhysicalDomain|systemcomposer.interface.PhysicalInterface|systemcomposer.interface.PhysicalElement|systemcomposer.interface.Dictionary|systemcomposer.interface.ServiceInterface|systemcomposer.interface.FunctionArgument|systemcomposer.interface.FunctionElement|addServiceInterface|setFunctionPrototype|getFunctionArgument|setAsynchronous