Zero length license error in using MATLAB Compiler R2012a

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)

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.
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

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).
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 MATLAB Compiler SDK in Help Center and File Exchange

Products

Tags

Asked:

Lin
on 28 May 2012

Commented:

on 8 Apr 2014

Community Treasure Hunt

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

Start Hunting!