strtrim
Remove leading and trailing white space from string in Stateflow chart
Since R2021b
Syntax
Description
removes the leading and trailing whitespace characters from the string
newStr
= strtrim(str
)str
.
Note
The strtrim
operator is not supported in Stateflow® charts that use C as the action language.
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