|
|
||
|
Oops! Better:
local pos, mopt_unpack = string.unpack(block, 'i')
Or better yet:
local pos, mopt, nrows, ncols, imagf, name,
vhi, vlo = string.unpack(binstr, '<L4aL2')
You'll need to determine the endian mode of the file, evidently
that isn't fixed with the MATLAB format.
-- Kurt Jung