minor fixes to matlab_port