DATCOM file reader state inconsistent
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
Hello,
I am using DATCOM's for006.dat file to import aerodynamic coefficient data into matlab. When I use the datcomimport function however, I get the following warning repeated for a minute or so :
Warning: DATCOM file reader state inconsistent
> In usafdatcom
In usafdatcom
In datcomimport (line 88)
And then finally an error:
Error in usafdatcom
Error in datcomimport (line 88)
[casenoout,casedata] = usafdatcom(files,usenan,verbose);
Why can't I import my data?
3 Commenti
Risposte (1)
Diya Tulshan
il 20 Giu 2023
Hi Alessandro Maria Laspina,
I understand that you are using DATCOM for 006.dat file to import aerodynamic coefficient data into MATLAB and there is repeated warning shown when you use the ‘datcomimport’ function.
Some of the possible work arounds could be: -
- Verify the format of the DATCOM file: Ensure that the file is in the correct format expected by the DATCOM importer. Specifically, check that the variable names and data values are in the correct columns and that there are no missing data values. Also, please make sure there are no extra header lines or footer information that may be causing the inconsistency.
- Check if the DATCOM file version is compatible with the DATCOM importer: Ensure that the version of the DATCOM file you are trying to import is supported by the version of the DATCOM importer you are using. In some cases, the importer may be designed to work with a specific version of DATCOM file, and using a different version may cause errors or warnings.
- Also, you can try importing the file using a different program or tool to check whether the issue is with the file or with MATLAB's datcomimport function.
For better understanding of the supported file version, kindly go through the following links:
- datcomimport : https://in.mathworks.com/help/aerotbx/ug/datcomimport.html#mw_bb887774-d70f-419b-a19e-4dc833803631
1 Commento
博谦 曹
il 20 Giu 2023
My DatCom version is 1999, which is shown as supported in the datcomimport help page. I have already checked that the issue is definately not with the for006.dat file. It cost me 8 hours to import the data manually...
Vedere anche
Categorie
Scopri di più su Data Import in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!