Does MATLAB Compiler checkout toolbox licenses at compile-time?

5 vues (au cours des 30 derniers jours)
Does MATLAB Compiler checkout toolbox licenses at compile-time?

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 4 Mai 2016
Modifié(e) : MathWorks Support Team le 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 commentaires
Walter Roberson
Walter Roberson le 7 Mar 2016
Modifié(e) : MathWorks Support Team le 19 Avr 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 le 28 Mar 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.

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur MATLAB Compiler SDK dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Community Treasure Hunt

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

Start Hunting!

Translated by