change to matlab_dir at startup