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 件のコメント

Todd Flanagan
Todd Flanagan 2016 年 8 月 12 日
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?

サインインしてコメントする。

回答 (0 件)

カテゴリ

ヘルプ センター および File ExchangeIntroduction to Installation and Licensing についてさらに検索

質問済み:

2016 年 8 月 11 日

コメント済み:

2016 年 8 月 12 日

Community Treasure Hunt

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

Start Hunting!

Translated by