MATLAB nodesktop nojvm cannot find license server

22 Ansichten (letzte 30 Tage)
Muhammad Haziq Kamarul Azman
Muhammad Haziq Kamarul Azman am 29 Dez. 2025 um 6:21
Beantwortet: Dinesh am 6 Jan. 2026 um 10:11
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?

Antworten (1)

Dinesh
Dinesh am 6 Jan. 2026 um 10:11
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:

Kategorien

Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange

Tags

Produkte


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by