next up previous
Next: Run-time calculations Up: Matlab Previous: Command line operation (no

Loading and saving large objects/files

One can use the hdf5write and hdf5read commands to save and load large objects using hierarchical data format v.5.
hdf5write('file.h5','/myDirectory/var1',var1); 
hdf5write('file.h5','/myDirectory/var2';var2,'writemode','append'); 
hdf5read('file.h5','/myDirectory/var1');

Thanks to Greg DiRienzo for this tip.

Keywords: Matlab, hdf, load, save

Last modified 11/19/05.



Chris Paciorek 2012-01-21