MathWorks Licensing Error 96 when running a Docker image of MATLAB in a GitLab Runner

1 vue (au cours des 30 derniers jours)
I'm using the MATLAB Docker Image in a GitLab Runner and I get an error message when trying to run MATLAB in the Docker image. Specifically, I see the Runner using the Docker image try to run my MATLAB script:
$ matlab -batch "myScript.m" License checkout failed. MathWorks Licensing Error 96 A licensing error occurred while trying to use <PRODUCTNAME>. Unable to communicate with your organization's license server or the Network License Manager has not been started. Troubleshoot this issue by visiting: https://www.mathworks.com/matlabcentral/answers/95122
How can I fix this?

Réponse acceptée

MathWorks Support Team
MathWorks Support Team le 13 Mai 2025
Modifié(e) : MathWorks Support Team le 13 Mai 2025
Check that the GitLab Runner isn't blocking the port to the license server. To do this, you can use nmap or similar utilities.
Also, check the following article: https://www.mathworks.com/matlabcentral/answers/95122

Plus de réponses (0)

Catégories

En savoir plus sur Manage Products dans Help Center et File Exchange

Tags

Aucun tag saisi pour le moment.

Produits


Version

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by