erase
Description
deletes instances of the substring newStr
= erase(str
,substr
)substr
that occur in the string
str
.
Note
The erase
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. For more information about structures in Stateflow, see Access Bus Signals Through Stateflow Structures.
Version History
Introduced in R2021b