Matlab无法打开M文件的错误, Undefined function or method 'uiopen' for input arguments of type 'char

错误提示: Undefined function or method 'uiopen' for input arguments of type

'char

解决方案:

运行命令 restoredefaultpath;matlabrc