changes to matlabdir