Correcting NAT in text files

2 ビュー (過去 30 日間)
Sahar khalili
Sahar khalili 2021 年 6 月 29 日
編集済み: dpb 2021 年 6 月 29 日
I have some text files for about 2 years that some parameters are measured every 10 minutes. I wrote a script that is run successfully for a data set to read those, but for different time series, in some days NAT is appeared. I am sure that my scprit and also my dara are correct, but I do not know how to solve this problem. Sometimes it works correctly by only restarting my PC.
  1 件のコメント
dpb 2021 年 6 月 29 日
編集済み: dpb 2021 年 6 月 29 日
We can't diagnose what we cannot see...
At least attach a sample file and the code -- but, if it is something that is provably intermittent in producing different results from the same file with the same code at different times, then it's not likely anybody here can help.
That would be either an inadvertent "operator error" like renaming a MATLAB builtin with a user-defined function or the like (that is certainly easy enough to do) or some other OS or competing application that is causing a machine failure. The latter is probably the least likely cause...
But,it would take a real case of the occurrence to be able to have any hope of uncovering what is happening unless it were an overlooked issue in the script that is either data dependent or there's a second operation that introduces the fault that occurs only part of the time.


回答 (0 件)


Find more on Entering Commands in Help Center and File Exchange


Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by