Internal error: Zero length license information

Hi there. I am trying to compile my code using the "Application Compiler" in Matlab R2014a (My OS is Windows 8.1). However, an internal error occurs during the packaging process:
  • Compiler version: 5.1 (R2014a)
  • Dependency analysis by REQUIREMENTS.
  • Internal error: Zero length license information.
Has anybody got ideas regarding this issue? Please help.

回答 (2 件)

David Eisner
David Eisner 2017 年 8 月 15 日

1 投票

Uninstalling and reinstalling without the Signal Processing Toolbox did not solve the problem for me. I tried running the mcc command (as copied from the PackagingLog.txt file) on the command line, and I got the same "Internal error: Zero length license information" error. However, if I explicitly specify the path to the license file (e.g. "C:\> mcc -C -o ... -Y "C:\Program Files\MATLAB\R2015b\licenses\network.lic"), then I can successfully produce an executable.

1 件のコメント

Denz Choe
Denz Choe 2019 年 8 月 6 日
This works for me as well! Thanks David

サインインしてコメントする。

Andreas Goser
Andreas Goser 2015 年 1 月 29 日

0 投票

I am aware of this kind of issue / error in R2012b. The reason was never completely identified, but it somehow was related to the Signal Processing Toolbox. Do you have this product installed? Even if you do not use it, it may be relevant.
What worked?:
Reinstall MATLAB R2012b without the Signal Processing Toolbox. The toolbox could be added separately later after installation.

2 件のコメント

Jay Jamin
Jay Jamin 2015 年 1 月 30 日
Yes, I did. Actually, I came across your answer at Internal error: Zero length license information, I tried following your method for R2012b in R2014a (uninstall then reinstall Matlab without the Signal Processing Toolbox). However, another type of error came up (it was a lack of Matlab component, as I recall). So, I went back to reinstalling the complete Matlab product.
Andreas Goser
Andreas Goser 2015 年 1 月 30 日
Happy to hear it finally worked, although effort.

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品

質問済み:

2015 年 1 月 29 日

コメント済み:

2019 年 8 月 6 日

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by