r****y 发帖数: 1437 | 1 The filename of your hdf5write to is one fixed filename for all loops,
or the name is different for different j?
I suspect it is the former. If so, just make filename distinctive for each
loop, e.g. fname = [' ', int2str(j), '.hdf']
Another possibility is that file is not closed correctly after you write it.
If it is a temp file, why use hdf5write, just write as mat format? |
|