Closed pbl007 closed 2 years ago
it has been a while, but the requested feature is finally supported, checkout this
saveh5(rand(5), 'test.h5', 'rootname','/mat')
saveh5('rand', 'test.h5', 'rootname','/name','append',1)
s=loadh5('test.h5')
s =
struct with fields:
mat: [5×5 double]
name: 'rand'
this toolbox is also tested and works on old MATLAB going back to R2010b
Hello
Love your code!!!
A quick feature request: could it be possible to allow saveh5 to "append" a group to an existing h5 file?
For example: assume file1.h5 already exists and has several groups/datasets etc. then
I tried and the content of file1.h is overwritten. I might have missed some option in your code.
Thanks again! Pablo