Deploytool for MATLAB R2013b doesn't work, what has changed?

强颜欢笑 提交于 2020-01-03 10:07:20

问题


For years I've been using the integrated deploytool to create easily distributable *.exe files for my colleagues. I installed R2013b a couple of days ago and I can't use the deploytool anymore. The log file when trying to package gives this:

ant:
<ant>
  <mkdir dir="C:\Users\xxxx\Matlab\programxy\test\for_redistribution" />
  <mkdir dir="C:\Users\xxxx\Matlab\programxy\test\for_testing" />
</ant>
mcc -C -o test -W WinMain:test -T link:exe -d 'C:\Users\xxxx\Matlab\programxy\test\for_testing' -v 'C:\Users\xxxx\Matlab\programxy\test.m'
Test checkout of feature 'Compiler' failed.

mcc failed. 

This looks like a license issue but out license does include the compiler.

license('test', 'compiler')

gives '1'.

Is there anything new with R2013b that I'm just missing? Do I have to install some addon for this to work again?


回答1:


As mentioned in the comment: if the problem is a missing license matlab typically expresses this very clearly.

Judging from your description I would guess that you did not set up / select the compiler after installing the new version of matlab.

Though it is a bit hard to read, I believe this site contains some things to try.




回答2:


It does not seem like a licensing issue. But contacting technical support would be the best option.

Also, check if you have licenses for all the products you are trying to deploy with.

It might be worthy to check out if the compiler you are using with is compatible with R2013b.



来源:https://stackoverflow.com/questions/19596334/deploytool-for-matlab-r2013b-doesnt-work-what-has-changed

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!