Matlab tools (from code.google.com/p/matlabtools/)