plus, +
描述
串联字符串 newStr
= str1
+ str2
str1
和 str2
。
是执行 newStr
= plus(str1,str2
)newStr = str1 + str2
的另一种方式。
注意
要在使用 C 语言作为动作语言的 Stateflow® 图中串联字符串,请使用 strcat
。
示例
输入参数
限制
此运算符不支持使用 Stateflow 结构体字段或消息。有关 Stateflow 中结构体的详细信息,请参阅Access Bus Signals Through Stateflow Structures。
版本历史记录
在 R2021b 中推出