Main Content
tostring
Convert value to string
Syntax
Description
converts numeric, Boolean, or enumerated data str
= tostring(X
)X
to a
string.
Note
The operator tostring
is supported only in Stateflow® charts that use C as the action language. In charts that use
MATLAB® as the action language, use string
.
Examples
Version History
Introduced in R2018b