Effacer les filtres
Effacer les filtres

Matlab h5write() failed to write files

6 vues (au cours des 30 derniers jours)
Xiang LI
Xiang LI le 14 Sep 2023
Commenté : dpb le 14 Sep 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 commentaire
dpb
dpb le 14 Sep 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...

Connectez-vous pour commenter.

Réponses (0)

Produits


Version

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by