运行mcc命令生成的应用程序时,提示以下问题,请大神帮忙解决~
The file
'C:\Program Files (x86)\Wind\bin\windMATLAB.m'
is not in the application's expanded CTF archive at
'C:\Users\Apple\AppData\Local\Temp\Apple\mcrCache9.0\Option8'.
This is typically caused by calls to ADDPATH in your startup.m or matlabrc.m files. Please see the compiler documentation and use the ISDEPLOYED function to ensure ADDPATH commands are not executed by deployed applications.
The file
'C:\Program Files (x86)\Wind\bin\windmatlab.m'
is not in the application's expanded CTF archive at
'C:\Users\Apple\AppData\Local\Temp\Apple\mcrCache9.0\Option8'.
This is typically caused by calls to ADDPATH in your startup.m or matlabrc.m files. Please see the compiler documentation and use the ISDEPLOYED function to ensure ADDPATH commands are not executed by deployed applications.
尝试确定 "windmatlab" 是否是函数名称时出错。
以上问题,我之前遇到过,说是addpath的问题,但是后来不知道什么原因,貌似安装了mcr就没有这个问题了,但是今天在使用mcc的时候,还是出现这个问题,大神帮忙解答一下吧