addServiceInterface
说明
将名称 interface = addServiceInterface(dictionary,name)name 指定的服务接口添加到数据字典 dictionary 中。
要删除接口,请使用 removeInterface 函数。
示例
输入参数
输出参量
详细信息
版本历史记录
在 R2022a 中推出
另请参阅
函数
addInterface|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|setFunctionPrototype|getFunctionArgument|setAsynchronous|systemcomposer.getSelectedInterfaces|IsAdapterComponent
对象
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|setFunctionPrototype|getFunctionArgument|setAsynchronous