Zero length license error in using MATLAB Compiler R2012a

5 views (last 30 days)
The Matlab of my Linux machine just upgraded to R2012a. When I execute >> mcc -m helloworld.m, it shows error message: Internal error: Zero length license information. Error using mcc Error executing mcc, return status = 1 (0x1).
Could someone help me?

Answers (2)

Kaustubha Govind
Kaustubha Govind on 29 May 2012
Looks like this was a bug in R2009b and R2010a. Perhaps you should contact MathWorks Tech Support and see if there is a relapse in R2012a.

MikeStein
MikeStein on 6 Mar 2014
I just had the same error - with 2012b, also running on a Linux machine with an mcc compile. One of two things seemed suspect... I had been debugging other code and had previously run dbstop if error I'm not sure if that was the issue, but I restarted Matlab, and reran the compile. It worked without issues.
-Mike
  2 Comments
Avinash Surendran
Avinash Surendran on 8 Apr 2014
I am facing the same issue, is there any way out other than re-installation? The error that I get is this
Begin validation of MEX files: Mon Apr 7 17:46:36 2014
End validation of MEX files: Mon Apr 7 17:46:36 2014
Internal error: Zero length license information.
Error using mcc
Error executing mcc, return status = 1 (0x1).
Andreas Goser
Andreas Goser on 8 Apr 2014
Avinash, assuming "same" also means R2012b, the best known workaround is to reinstall MATLAB R2012b without the Signal Processing Toolbox. The toolbox can be added separately later after installation. This should help to resolve the issue.

Sign in to comment.

Categories

Find more on C Shared Library Integration in Help Center and File Exchange

Tags

Products

Community Treasure Hunt

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

Start Hunting!