Does MATLAB Compiler checkout toolbox licenses at compile-time?

9 ビュー (過去 30 日間)
MathWorks Support Team
MathWorks Support Team 2016 年 2 月 26 日
編集済み: MathWorks Support Team 2021 年 4 月 19 日
Does MATLAB Compiler checkout toolbox licenses at compile-time?

採用された回答

MathWorks Support Team
MathWorks Support Team 2016 年 5 月 4 日
編集済み: MathWorks Support Team 2016 年 5 月 4 日
As of MATLAB R2016a, MATLAB Compiler will now check out licenses for toolboxes used in the code you compile. This means that if you compile code in MATLAB using MATLAB Compiler, any functions which require a license for a particular toolbox to run will cause the required toolbox to be checked out at compile-time.
Please note that this applies to compilation performed using the standalone mcc command from the system command prompt as well. Calling mcc from the system command prompt reserves the MATLAB Compiler license for 30 minutes after it is called, and as of R2016a it also reserves any relevant toolbox seats for the same duration. Calling mcc from within the MATLAB environment does not cause any license seats to linger, either for MATLAB Compiler itself or toolboxes required for compilation.
In MATLAB releases R2015b and earlier, toolbox checkouts are not performed when compiling code which requires a license for one or more toolboxes.
  3 件のコメント
Walter Roberson
Walter Roberson 2016 年 3 月 7 日
編集済み: MathWorks Support Team 2021 年 4 月 19 日
If you are working with Concurrent licenses then other people might be wanting to use the license, but would now be prevented for a time. See for example the recent Question here
Walter Roberson
Walter Roberson 2016 年 3 月 28 日
Now I am confused. "Calling mcc from within the MATLAB environment _does not _cause any license seats to linger" sounds like this all does not apply if you compile from within MATLAB, but the "as well" part of "Please note that this applies to compilation performed using the standalone mcc command from the system command prompt as well" grammatically requires that it apply in at least two different circumstances but it looks like it only applies in one circumstance. So it is not clear whether this applies or not when you call the compiler within MATLAB.

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

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeC Shared Library Integration についてさらに検索

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by