MATLAB: Doubt regarding textscan

reading from a file

hello friends i want to read a file which contains a long number and i have to store in for further processing, ex 2.6300000000000000e+002 2.2500000000000000e+002() like this . i think it is a exp data ,i tried using textscan(fid,'%f %f')but no result i am waiting for ur help

Best Answer

What do you mean by "no result"? What value does fid have? This little test works fine!
str = '2.6300000000000000e+002 2.2500000000000000e+002';
cac = textscan( str,'%f %f');
>> cac{:}
ans =
263
ans =
225