Convert input signal to string signal
Simulink / String
The To String block creates a string signal from an input signal. For
example, consider using this signal to convert a logical value 1
or
0
to its string equivalent "false"
or
"true"
.
When a MinGW® compiler compiles code generated from the block, running the compiled code
may produce nonstandard results for floating-point inputs. For example, a numeric input
of 501.987
returns the string "5.019870e+002"
instead of the expected string "5.019870e+02"
.
Data Types |
|
Direct Feedthrough |
|
Multidimensional Signals |
|
Variable-Size Signals |
|
Zero-Crossing Detection |
|
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