ASCII to String
R2026bUint8 vector signal to string signal
Libraries:
Simulink /
String
Description
The ASCII to String block converts uint8 vector signals to string
signals. The block treats each element in the input vector as an ASCII value during the
conversion. For example, the block converts an input vector of [72 101 108 108
111] to the string "Hello".
Ports
Input
Output
Block Characteristics
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"simulink/String/ASCII to String"
Example: add_block("simulink/String/ASCII to String","myModel/myBlock",MakeNameUnique="on")
Extended Capabilities
Version History
Introduced in R2018a
