bytestream_load

bytestream_load(filename, varargin)

BYTESTREAM_LOAD Load variables stored as uint8 byte streams from a .mat file

Usage:

S = bytestream_load(filename, var1, var2, …)

Inputs:

filename : char - path to .mat file – required varargin : char - names of byte-stream variables to load – required

Outputs:

out : struct - fields named per requested variable, values are deserialized arrays

Notes

Variables are loaded into the base workspace in addition to the returned struct. Any requested variable that is not a uint8 byte stream is skipped with a warning.

See also: bytestream_save, getArrayFromByteStream

∿∿∿ Prerau Laboratory MATLAB Codebase · sleepEEG.org ∿∿∿