The bytestream toolbox dramatically reduces the occupied disc space, as well as save and load times for .mat files. The high performance gain is possible, because bytestreams are much smaller than conventional Matlab-variables.
The toolbox provides the creation and saving of bytestreams, as well as the loading and restoring of the initial variables, in one step, respectively.
Inclusive streaming and unstreaming times, the save time and storage space needed for big cells or structs, is reduced by up to 99%.
The toolbox uses the undocumented Matlab functions getByteStreamFromArray() and getArrayFromByteStream(). The idea is based on following article on the undocumented Matlab website. http://undocumentedmatlab.com/blog/serializing-deserializing-matlab-data
This is still a beta version. The stability of Matlab may be decreased, while and after using this toolbox.
Jan Berling (2021). Bytestream Save Toolbox (https://www.mathworks.com/matlabcentral/fileexchange/45743-bytestream-save-toolbox), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!