Find and replace substrings
newStr = strrep(
replaces all occurrences of
Only Stateflow® charts that use MATLAB® as the action language support the
Replace the substring
h = "Hello, world!" x = strrep(h, "Hello", "Howdy")
This operator does not support structures. For more information about structures in Stateflow, see Access Bus Signals Through Stateflow Structures.