필터 지우기
필터 지우기

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

조회 수: 18 (최근 30일)
André Berglund
André Berglund 2024년 5월 31일
댓글: Bera 2024년 5월 31일
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)

채택된 답변

André Berglund
André Berglund 2024년 5월 31일
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é

추가 답변 (1개)

Image Analyst
Image Analyst 2024년 5월 31일
  댓글 수: 1
Bera
Bera 2024년 5월 31일
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!

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by