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

7 次查看(过去 30 天)
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?

回答(1 个)

Tushar
Tushar 2023-9-6
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.

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by