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 Comment

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?

Sign in to comment.

Answers (0)

Categories

Asked:

on 11 Aug 2016

Commented:

on 12 Aug 2016

Community Treasure Hunt

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

Start Hunting!