- Press the Windows Key + R on your keyboard. This should open a small window called "Run".
- Enter the following text into the newly opened window: %APPDATA%\MathWorks\licensing\licenses
- Press Enter on your keyboard
- Delete the license information file found in this folder
我通过学校的软开库下载的软件,但是打开之后显示我没有许可证
4 views (last 30 days)
Show older comments
Answers (1)
NVSL
on 9 Sep 2025
Hey Ziyang,
I see you are getting an error of “no valid license file” when tried to launch MATLAB.
Usually, this error occurs when the license information cannot be read properly or has been corrupted. Therefore, new license information must be generated.
As the first step, you can try restarting MATLAB ensuring a stable internet connection and any antivirus software and/or firewalls are disabled. If this doesn’t resolve the issue, follow the below steps in your Windows machine.
This should resolve the error. If you still receive this error, then this is likely a connection-related issue.
Kindly refer to the MATLAB Answer below to troubleshoot connection issues:
I hope this helps!
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!