C++ Math Library Reference | ![]() ![]() |
Convert string to double-precision value
C++ Prototype
mwArray str2double(const mwArray &C);
C++ Syntax
#include "matlab.hpp"
mwArray C; // Input argument(s)
mwArray X; // Return value
x = str2double("str
");
X = str2double(C);
MATLAB Syntax
x = str2double('str
')
X = str2double(C)
See Also
str2double
Calling Conventions![]() | std_func | str2mat | ![]() |