필터 지우기
필터 지우기

Matlab h5write() failed to write files

조회 수: 6 (최근 30일)
Xiang LI
Xiang LI 2023년 9월 14일
댓글: dpb 2023년 9월 14일
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
dpb
dpb 2023년 9월 14일
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...

댓글을 달려면 로그인하십시오.

답변 (0개)

제품


릴리스

R2023a

Community Treasure Hunt

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

Start Hunting!

Translated by