MATLAB nodesktop nojvm cannot find license server

22 ビュー (過去 30 日間)
Muhammad Haziq Kamarul Azman
Muhammad Haziq Kamarul Azman 2025 年 12 月 29 日 6:21
回答済み: Dinesh 2026 年 1 月 6 日 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?

回答 (1 件)

Dinesh
Dinesh 2026 年 1 月 6 日 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:

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

製品


リリース

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by