doubt regarding textscan
4 ビュー (過去 30 日間)
古いコメントを表示
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
0 件のコメント
採用された回答
per isakson
2012 年 5 月 24 日
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
3 件のコメント
Walter Roberson
2012 年 5 月 28 日
What result do you get from textscan() ? Do you get an error message?
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Large Files and Big Data についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!