Modified MatFileWriter.java slightly to include capabilities for writing int32 arrays. Really very simple change. Just copied from other case statement examples. Seems to work though, can load in matlab R2011b