MCC + Optimization Toolbox problem on Windows MATLAB2012A
Mostra commenti meno recenti
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
Todd Flanagan
il 12 Ago 2016
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?
Risposte (0)
Categorie
Scopri di più su Introduction to Installation and Licensing in Centro assistenza e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!