Appending to a JLD


#1

Is there a good way to append variables to a JLD file?
The readme talks about save() but that seems to only save a number of variables at once, not incrementally.

Thanks!


#2

Sorry, nevermind. I think the jldopen syntax should work.


#3

Actually, the append mode “a” seems to be commented out. Is it implemented?


#4

you are on it, to add any extra “variables” to already existing JLD file do following

f = jldopen(filename, "r+")
write(f, "new_variable", new_variable)
close(f)

#5

Thank you so much!