当我尝试使用“hdf5storage.write(dict22, '.', 'test.mat', matlab_compatible=True)”保存长垫数据时发生以下错误
File "/users/p/prylepy1/.local/lib/python3.6/site-packages/h5py/_hl/attrs.py", line 197, in create
attr = h5a.create(self._id, self._e(tempname), htype, space)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5a.pyx", line 50, in h5py.h5a.create
RuntimeError: Unable to create attribute (no write intent on file)