Does MATLAB Compiler checkout toolbox licenses at compile-time?

5 Ansichten (letzte 30 Tage)
Does MATLAB Compiler checkout toolbox licenses at compile-time?

Akzeptierte Antwort

MathWorks Support Team
MathWorks Support Team am 4 Mai 2016
Bearbeitet: MathWorks Support Team am 4 Mai 2016
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 Kommentare
Walter Roberson
Walter Roberson am 7 Mär. 2016
Bearbeitet: MathWorks Support Team am 19 Apr. 2021
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 am 28 Mär. 2016
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.

Melden Sie sich an, um zu kommentieren.

Weitere Antworten (0)

Kategorien

Mehr zu MATLAB Compiler SDK finden Sie in Help Center und File Exchange

Tags

Noch keine Tags eingegeben.

Community Treasure Hunt

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

Start Hunting!

Translated by