str2num
Convert character arrays with only numeric characters and blanks to matrices.
m=str2num(s)
Inputs
s An array of characters in which every row consists of blanks or numeric characters.
Outputs
m The matrix obtained by removing the blanks and converting numeric characters to numbers.


Example
>>a=['2 3 4';'5 6 7']
>>a
2 3 4
5 6 7

>>str2num(a)
          2          3          4
          5          6          7
>>class(a)
char
>>class(str2num(a))
double