Matlab interface updates