Why does Matlab shut down without obvious warning on missing license?

7 visualizaciones (últimos 30 días)
jeffrey millar
jeffrey millar el 7 de Jul. de 2022
Respondida: Tushar el 6 de Sept. de 2023
I resumed work with my program after about a 30 minute break. I was in the middle of a series test-analyze-fix loops. The command window was basically filled with error messages and function history every time it stopped.
Abruptly, and without obvious warning, Matlab shutdown and I lost work. This is the 2nd or 3rd time this has happened. I have also seen the license warning countdown and it's easy to deal with that.
I need to be on the company VPN to access the license server and it disconnects only sometimes. Sometimes it stays up 24 hours, sometimes shutsdown after 30 min idle.
Maybe there were warnings about the license, but if so, they had scrolled off the screen.
I lose work every time this happens. It seems very rude for Mathworks to not handle this perfectly normal workflow gracefully.
What does the community think, any constructive suggestions?

Respuestas (1)

Tushar
Tushar el 6 de Sept. de 2023
Hi Jeffrey,
I understand that you are experiencing issues with MATLAB abruptly shutting down while you are working.
I have a few suggestions that might help you:
  • Check VPN Connection: If you are using a company VPN, it's possible that the disconnection of the VPN is causing the abrupt shutdown. Check if there are any issues with the VPN connection that you are using.
  • License Issue: For a license issue, you would typically see a warning message like the example given below on the command window before executing your code. Since you haven't mentioned any license-related warnings, it's unlikely to be the cause of the problem.
  • Crash Report: When MATLAB crashes, a crash report is generated with details about the crash.
You can go to the "Details" page of the crash report to contact MathWorks support.
  • Third-Party Software Interference: Sometimes, third-party softwares installed on the machine interfere with MATLAB. Try uninstalling all the non-standard softwares and plug-ins from the machine.
For more information related to crashes, you can check: Crash Reporting
I hope these few suggestions might help you resolve the issue you are facing.

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by