Main Content
plus, +
Description
concatenates the strings newStr
= str1
+ str2
str1
and str2
.
is an alternative way to execute newStr
= plus(str1,str2
)newStr = str1 + str2
.
Note
To concatenate strings in Stateflow® charts that use C as the action language, use strcat
.
Examples
Input Arguments
Limitations
This operator does not support the use of Stateflow structure fields or messages. For more information about structures in Stateflow, see Access Bus Signals.
Version History
Introduced in R2021b