Borrar filtros
Borrar filtros

Matlab h5write() failed to write files

6 visualizaciones (últimos 30 días)
Xiang LI
Xiang LI el 14 de Sept. de 2023
Comentada: dpb el 14 de Sept. de 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 comentario
dpb
dpb el 14 de Sept. de 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...

Iniciar sesión para comentar.

Respuestas (0)

Etiquetas

Productos


Versión

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by