strtrim
Remove leading and trailing white space from a string
Syntax
Description
newStr = strtrim(
removes leading and
trailing whitespace characters from str
)str
and returns the result as
newStr
.
Note
Only Stateflow® charts that use MATLAB® as the action language support the strtrim
operator.
Examples
Limitations
This operator does not support structures. For more information about structures in Stateflow, see Access Bus Signals Through Stateflow Structures.