For users on linux, x86_64 the file MatlabStruct.c may need to be changed to match on disk data.
Lines 179,182 use sizeof long (which is 8 on linux64) for int32, 4 byte elements.
The types INT32_T and UINT32_T work well as a replacement
29 Jan 2010
A tool for mapping binary data to MATLAB structures and vice versa.