Info
この質問は閉じられています。 編集または回答するには再度開いてください。
HOW TO SAVE MAT 2 ASCII FILE?
1 回表示 (過去 30 日間)
古いコメントを表示
Anyone pls help. How to save matlab to ascii file?
this is what I do so far
ncol = 66;
fmt = repmat('%f', 1, ncol);
filename = 'j3p0001c070.asc';
fid = fopen(filename, 'rt');
data = cell2mat( textscan(fid, fmt, 'HeaderLines', 74, 'CollectOutput',10, 'TreatAsEmpty', '*') );
fclose(fid);
data(isnan(data)) = -99.9999;
6 件のコメント
回答 (0 件)
この質問は閉じられています。
参考
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!