Azzera filtri
Azzera filtri

Why does Matlab state that I do not have a valid license file?

18 visualizzazioni (ultimi 30 giorni)
For about a week, Matlab has occasionally thrown up a window stating that I do not have a valid license. It went away without any issues, but after the most recent reboot I can't start matlab. I only get an error window stating that "You do not have a valid license file. To troubleshoot, click "Help"."
Clicking the button leads to:
It appeared the first time when running experiments using the parallel toolbox, But, to be exhaustive: I have no problem with the connectivity, firewall, antivirus, and this problem persists despite reboots of both matlab, and the computer.
Following the link regarding the parallel toolbox:
It states that I should uninstall, and reinstall, the mathworks service host via the suggested mathworksservicehost_2024.5.0.3_win64_installer.exe. This is not straightforward, as several errors crop up following the suggested link:
However, after several reboots (where I, among other things, reinstall matlab, and update windows) over several tries, I manage to figure out that if I repeatedly and quickly launch the installation it eventually takes me through the process, allowing me to log in and so on.
I now have a Matlab Connector up and running. But Matlab still won't launch.
Another error I encountered (somewhere during the process) led me to:
I ensure that Matlab already is whitelisted on the windows firewall, and I add MathWorksServiceHost.exe.
Still not solving the problem, I follow the suggestion to contact you and follow the following instructions to give you the log file:
I have zipped the log files (excluding the license manager logs, as those instructions were less straightforward), and attached them.
What do you suggest as the next step?
Thanks for your time, and I hope that you have a great day!
// André Berg (formerly Berglund)

Risposta accettata

André Berglund
André Berglund il 31 Mag 2024
I solved the problem. The license file had gotten corrupted during a BSOD, and the following link did provide with the solution:
Deleting the corrupted license file at %APPDATA%\MathWorks\licensing\licenses worked like a charm.
Cheers!
// André

Più risposte (1)

Image Analyst
Image Analyst il 31 Mag 2024
  1 Commento
Bera
Bera il 31 Mag 2024
I was just wondering do you have any services I could use to pay you and get support for. I need help with some basic pattern recognition and I've seen some of your stuff and your amazing!

Accedi per commentare.

Categorie

Scopri di più su Startup and Shutdown in Help Center e File Exchange

Prodotti


Release

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by