Create string data type
creates a Simulink® string data type with a maximum length. Alternatively, you can also
create string data types using the String
Constant, String
Concatenate, and Compose
String blocks. string
= stringtype(maximum_length
)
stringtype(
creates a
Simulink string data type with a maximum length that you can type directly on
the MATLAB® command line or in the Output data type parameter
of the String Constant, String Concatenate, or
Compose String block.maximum_length
)
Tip
Specifying stringtype(0)
creates a string data type
with no maximum length. This syntax is the same as specifying
string
for Simulink block data types.
ASCII to String | Compose String | Scan String | String Compare | String Concatenate | String Constant | String Find | String Length | String To ASCII | String to Double | String To Enum | String to Single | Substring | To String