textscan

textscan(str, format) reads data from str and returns it into a cell array as specified in format parameter.

Examples

>> c = textscan('2.2 1.23
45.12 24.1', '%f %f')

[c:1x2 cell]

>> c{1}#

          2.2
        45.12


>> c{2}#

         1.23
         24.1
	

See also

fopen | readtable