edit(fullfile(prefdir, 'mexopts.bat'))
http://www.mathworks.cn/support/solutions/en/data/1-8FJXQE/index.html修改path等