Why do I receive the error "You do not have a valid license file?" when I try to launch MATLAB?

207 ビュー (過去 30 日間)
Why I do receive the error message pictured below when I try to launch MATLAB?
You do not have a valid license file.
For help, contact MathWorks Support.

採用された回答

MathWorks Support Team
MathWorks Support Team 2024 年 3 月 25 日
編集済み: MathWorks Support Team 2024 年 3 月 25 日
This error occurs when the license information can not be read properly or has been corrupted. Therefore, new license information must be generated. 
You must be connected to the internet to generate new license information. 
  1. Confirm your connection status
  2. Confirm any antivirus software and/or firewalls are disabled
  3. Restart MATLAB
If this does not resolve the issue, please follow these steps to remove your current licensing information file:
Windows
  1. Press the Windows Key + R on your keyboard. This should open a small window called "Run".
  2. Enter the following text into the newly opened window: %APPDATA%\MathWorks\licensing\licenses
  3. Press Enter on your keyboard
  4. Delete the license information file found in this folder
macOS
  1. Open Finder
  2. In the top left corner of your screen, select "Go"
  3. Select "Go to Folder..."
  4. Type in ~/Library/Application Support/MathWorks/licensing/licenses/
  5. Press Enter/Return on your keyboard. This should navigate to the folder specified.
  6. Delete the license information file found in this folder
Linux
  1. Navigate to the hidden folder ~/.MathWorks/licensing/licenses
  2. Delete the license information file found in this folder

 

If you still receive this error, then this is likely a connection-related issue. See the link below to troubleshoot connection issues.
Why do I get a connection error when installing or activating MATLAB or other MathWorks products?
If you are still experiencing issues, visit our status page from the link below.
Application Status

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by