MCC + Optimization Toolbox problem on Windows MATLAB2012A
Mostrar comentarios más antiguos
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 comentario
Todd Flanagan
el 12 de Ag. de 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?
Respuestas (0)
Categorías
Más información sobre Introduction to Installation and Licensing en Centro de ayuda y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!