Azzera filtri
Azzera filtri

Matlab h5write() failed to write files

6 visualizzazioni (ultimi 30 giorni)
Xiang LI
Xiang LI il 14 Set 2023
Commentato: dpb il 14 Set 2023
I am using h5create and h5write to generate many h5 files (600+).
I found that my program runs ok at first, but after 20 to 30 files, the programs will throw exception indicating that it cannot write to the h5file as the dataset already exists.
However, when I checked my folder the "existing" file was not there and if I stopped the program and re-run it it can generate the h5 file and write to it.
Does anyone have an idea why this happens/
  1 Commento
dpb
dpb il 14 Set 2023
No way anybody here can do anything without even the actual error nor the code/script/function to look at to see if could possibly spot something...
That symptom would tend to imply a logic error that the code did try to create a second copy of the same dataset under some circumstance, but all we can do is hypothosize...
If you can reproduce the symptom, it should be possible to track down the cause; if it is intermittent, it would be tougher...

Accedi per commentare.

Risposte (0)

Prodotti


Release

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by