If I run the following code more than once, MATLAB 7.0 (R14) returns an assertion in bridge.dll.
result = test1('test1.h5');result = test1('test1.h5');
where test1.m has the following code
function result=test(filename) a = hdf5.h5enum(); defineEnum(a,{'NO','YES'},uint8([0,1])); setData(a,uint8([0])); setName(a,'toto'); hdf5write(filename,'/data0',a); result=hdf5read(filename,'/data0');end
Best Answer