the matlab file writer currently writes only on file close. While this is necessary for v5, v7.3 files should directly use the HDF5 file writer