Main Content
str2double, double
Description
converts the text in string X
= str2double(str
)str
to a double-precision complex
value. If str2double
cannot convert the text to a number, it
returns a NaN
value. Use this operator in the Requirements Table block.
is
an alternative way to execute X
= double(str
)str2double(str)
.
Examples
Input Arguments
Output Arguments
Limitations
This operator does not support the use of
Simulink.Bus
object fields.
Version History
Introduced in R2022b