DATCOM file reader state inconsistent
Mostrar comentarios más antiguos
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 comentarios
Tianle Ding
el 21 de Mayo de 2021
Has your problem been solved? I have the same problem
junya ishii
el 12 de Mayo de 2022
I have the same problem, too.
博谦 曹
el 19 de Jun. de 2023
Same problem. Waiting for answer.
Respuestas (1)
Diya Tulshan
el 20 de Jun. de 2023
0 votos
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 comentario
博谦 曹
el 20 de Jun. de 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...
Categorías
Más información sobre Data Import en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!