str2num

Read a string and convert it to a numerical array.

Syntax

y = str2num ( str )
y = str.str2num (  )

Inputs

ArgumentTypeDescriptionUnit
strSTRString (it must not have a non-numerical character)n/a

Outputs / Return Value

Notes

See Also

Review Status