How can I solve a dlmread error on A2016a?
Afficher commentaires plus anciens
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?
Réponse acceptée
Plus de réponses (1)
Walter Roberson
le 21 Déc 2019
0 votes
You need to increase your 96 to (at least) 97.
Catégories
En savoir plus sur Spreadsheets dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!