How can I solve a dlmread error on A2016a?
古いコメントを表示
I have been having an issue with producing a set of CTD data on Matlab for a few days and don't seem to understand how to solve this. I feel as though it may be an issue with importing data but I'm not 100% sure.
data=dlmread([name,'.cnv'],'',96,0);
Error using dlmread (line 147)
Mismatch between file and format character vector.
Trouble reading 'Numeric' field from file (row number 1, field number 1) ==> # </sensor>\n
Error in ctd1 (line 4)
data=dlmread([name,'.cnv'],'',96,0);
These are the error suggestions that come up, but not sure what they're suggesting as I'm quite new to Matlab and my understanding is still limited.
How can I solve the dlmread issue?
Is this issue related to importing data into Matlab?
採用された回答
その他の回答 (1 件)
Walter Roberson
2019 年 12 月 21 日
0 投票
You need to increase your 96 to (at least) 97.
カテゴリ
ヘルプ センター および File Exchange で Coordinate Reference Systems についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!