l****k 发帖数: 16 | 1 写了几个小程序,然后用 mcc -m 编译成 exe文件。到没有安装matlab的机器运行,出
错: ‘mclmcrrt70.dll not installed...’
在matlab 里面找到MCRinstaller, 安装完后出来新的错误 about‘set_para...’
请问怎么解决这个错误啊?
谢谢 | g****y 发帖数: 199 | 2 could be many reasons. you may need to check the online documentation on Mat
hworks' website.For each error message, they have a specific article about
it.
【在 l****k 的大作中提到】 : 写了几个小程序,然后用 mcc -m 编译成 exe文件。到没有安装matlab的机器运行,出 : 错: ‘mclmcrrt70.dll not installed...’ : 在matlab 里面找到MCRinstaller, 安装完后出来新的错误 about‘set_para...’ : 请问怎么解决这个错误啊? : 谢谢
| l****k 发帖数: 16 | 3 Thank you a lot!!!
I found the solution with the 'set_param' error in the matlab website.
it is said this is a bug in matlab. the solution is very easy.
you just go to find the matlabrc.m under folder ...toolbox/compiler/deploy..
.
'Comment out the following lines (numbers 81 and 82) that have a call to SET
_PARAM.
%set_param(0,'PaperType',defaultpaper);
%set_param(0,'PaperUnits',defaultunits);
Then, mcc again to generate a new .exe.
Try it again ---- Bingo! |
|