License Manager Error -1, Licensing error: -1,359. System Error: 2

20 views (last 30 days)
I was directed here from my own license failure and cannot find any corresponding information myself.
My academic installation was running fine for several weeks, but now I receive this error when starting matlab:
MATLAB is selecting SOFTWARE OPENGL rendering.
License checkout failed.
I was directed here from my own license failure and cannot find any corresponding information myself.
My academic installation was running fine for several weeks, but now I receive this error when starting matlab:
MATLAB is selecting SOFTWARE OPENGL rendering.
License checkout failed.
License Manager Error -1
The license.dat file cannot be found.
Troubleshoot this issue by visiting:
https://www.mathworks.com/support/lme/R2019a/1
Diagnostic Information:
Feature: MATLAB
License path: -prefersoftwareopengl
Licensing error: -1,359. System Error: 2
I have tried deactivating and reactivating matlab to regenerate the license file to no avail. I had no problem with initial activation using the online system. I believe the error might have been caused by automating the bash command "killall MATLAB" to terminate stalled processes during pipeline processing that I've been performing, but I'm not sure.
The license.dat file cannot be found.
Troubleshoot this issue by visiting:
https://www.mathworks.com/support/lme/R2019a/1
Diagnostic Information:
Feature: MATLAB
License path: -prefersoftwareopengl
I have tried deactivating and reactivating matlab to regenerate the license file to no avail. I had no problem with initial activation using the online system. I believe the error might have been caused by automating the bash command "killall MATLAB" to terminate stalled processes during pipeline processing that I've been performing, but I'm not sure.

Answers (1)

Patrick
Patrick on 26 Jan 2026 at 15:57
This is probably caused by running
matlab -c <license>
without specifying a license file, for example as
matlab -c;

Categories

Find more on Manage Products in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!