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