MCC + Optimization Toolbox problem on Windows MATLAB2012A

Matlab Team:
I'm having problems using mcc with MATLAB2012A on Windows 7. I have a function that requires the optimization toolbox (fmincon and linprog) and for some reason mcc is complaining via the mccExcludeFilesLog.txt that the 'required licenses are not available' for these functions.
I can run the code interactively in a Matlab console, but when calling mcc from the same console, I get an incomplete exec (no fmincon and linprog). I've tried a lot of things: exiting all Matlab sessions; -N -p args, license('checkout', 'optimization_toolbox), etc.
Furthermore, I can compile the same function on Mac and linux using the same network licenses. The toolbox licenses required ARE available.
Any ideas?
Thanks,
Scott

1 Commento

That error is coming from the license manager. It really believes there aren't licenses available. There are some general debugging tips here
Did you try compiling from a Windows command prompt?

Accedi per commentare.

Risposte (0)

Categorie

Richiesto:

il 11 Ago 2016

Commentato:

il 12 Ago 2016

Community Treasure Hunt

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

Start Hunting!

Translated by