本文介绍了适用于MATLAB R2013b的Deploytool不起作用,发生了什么变化?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

多年来,我一直在使用集成的deploytool为同事创建易于分发的* .exe文件.我在几天前安装了R2013b,现在无法再使用deploytool了.尝试打包时的日志文件显示以下信息:

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')

给出'1'.

我刚刚缺少的R2013b有什么新东西吗?我是否需要安装一些插件才能再次使用?

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

推荐答案

如评论中所述:如果问题是缺少许可证,matlab通常会非常清楚地表达这一点.

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

从您的描述来看,我猜您在安装新版本的matlab之后没有设置/选择编译器.

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.

这篇关于适用于MATLAB R2013b的Deploytool不起作用,发生了什么变化?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-24 00:40