MATLAB nodesktop nojvm cannot find license server

9 vues (au cours des 30 derniers jours)
Muhammad Haziq Kamarul Azman
I've run an interpreter window from Windows terminal using
matlab -nosplash -nodesktop -nojvm
Inside this interpreter, I run several scripts. Most exquisitely, it will use parallel processing for computation, but otherwise, nothing fancy.
The code will run for a while, and then stops with LM error -15 (can't connect to license server).
Using the license command, I get 'unknown' as a response.
The thing is, I made sure that the computer remains connected to the Internet.
Also, using MATLAB with desktop, I run the license command, and a valid license is returned.
Why is this happening? Is disabling the JVM causing this to happen?

Réponses (1)

Dinesh
Dinesh le 6 Jan 2026
I don't think disabling the JVM causes this error.
There are several possible reasons for the LM error. Please refer to the "If you receive this error on the license server" section in the following MATLAB Answers post:

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Tags

Produits


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by