Does MATLAB Compiler checkout toolbox licenses at compile-time?

5 次查看(过去 30 天)

采纳的回答

MathWorks Support Team
编辑: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 CenterFile Exchange 中查找有关 MATLAB Compiler SDK 的更多信息

标签

尚未输入任何标签。

Community Treasure Hunt

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

Start Hunting!

Translated by