|
Contents | Previous | Next | Subchapters |
| Syntax |
str2num(s) |
| See Also | num2str , atod , atoi |
[ and ]
need not be included in s.
s = [ '1 2 3+i' ; '4+j 5 6' ]
str2num(s)
O-Matrix will reply
{
[ (1,0) , (2,0) , (3,1) ]
[ (4,1) , (5,0) , (6,0) ]
}
4+j
in the example above).
It therefore is much slower than the routine
atod
which does not allow as general a set of input formatting.