addFragment
说明
将 fragment = addFragment(operand,fragmentType) fragmentType 类型的片段添加到 operand 指定的操作数中。
支持上述语法中的输入参量,且可使用一个或多个名称-值参量指定选项。例如,要在现有片段后添加片段,可将 fragment = addFragment(___,Name=Value)After 设置为有效的片段对象。
示例
输入参数
名称-值参数
输出参量
详细信息
版本历史记录
在 R2024b 中推出
另请参阅
工具
函数
openViews|sim|addInteraction|getInteraction|getInteractions|open|addLifeline|addOperand|addMessage|addDurationConstraint|addAnnotation|findLifeline|findElement|move|move|move|destroy|next|current|reset
对象
systemcomposer.arch.Model|systemcomposer.interaction.Interaction|systemcomposer.interaction.Iterator|systemcomposer.interaction.Lifeline|systemcomposer.interaction.MessageEvent|systemcomposer.interaction.FormalGate|systemcomposer.interaction.Message|systemcomposer.interaction.Fragment|systemcomposer.interaction.Operand|systemcomposer.interaction.DurationConstraint|systemcomposer.interaction.Annotation

