Ros to Matlab