I am trying to open an ASCII
file in MATLAB
using textfile
. It's a very large file with 13 rows of string headers and a 1399 by 1399 matrix of floating point numbers. Some value are blank but I cannot know which ones. The file has comma separated values.
fid = fopen (filename);
Zs = textscan (fid, '%f' , 'Bufsize' ,1000000 , 'Delimiter' , ',' , 'EmptyValue',0);
fclose (fid);
Zs is only a 1*1 matrix with the first number. I would really appreciate some indications which can help me.