Why do I receive the error "Unable to save login information. You are currently signed in but you will be prompted to sign in again the next time that you start this application"?

310 ビュー (過去 30 日間)
When launching MATLAB, why do I receive the error "Unable to save login information. You are currently signed in but you will be prompted to sign in again the next time that you start this application"?

採用された回答

MathWorks Support Team
MathWorks Support Team 2025 年 2 月 20 日
編集済み: MathWorks Support Team 2025 年 2 月 6 日
If this error occurs when attempting to start MATLAB, there may be an issue with the MathWorks Service Host.
To resolve this, please try resetting your local credentials with the following steps:
Step 1: Shutdown any running MATLABs, MathWorksServiceHost and MATLABConnector processes. For example:
Windows
In Windows Command Prompt, run this command:
Taskkill /IM MathWorksServiceHost.exe /F
Linux
In Linux Terminal, run this command:
killall MathWorksServiceHost
macOS
In Mac Terminal, (Finder -> Applications -> Utilities -> Terminal.app):
killall MathWorksServiceHost
Step 2: Delete your credentials storage folder, which can be found here:
  • Windows - %APPDATA%\MathWorks\credentials
  • Linux - ~/.matlab/credentials
  • macOS - ~/Library/Application Support/MathWorks/credentials
Then, try running MATLAB again.
If this does not work, perform a clean reinstall of the MathWorks Service Host:
How do I uninstall and reinstall MathWorks Service Host?
If this error occurs when attempting to start up
MATLAB Connector
on macOS, there may be an issue with the secrets file contained with the credentials directory, which may have been deleted or modified. 
To resolve this, perform the following:
  1. Delete the following directory: /Users/$USER/Library/Application Support/MathWorks/credentials
  2. Delete the "MathWorks Key" key found in your login keychain in the Keychain Access app under Utilities
  3. Restart MATLAB Connector
  1 件のコメント
jkr
jkr 2025 年 5 月 9 日
The upper part of this answer worked for me. Note that I did not delete ~/Library/Application Support/MathWorks/credentials, but rather only its content, a single xml file.

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeStartup and Shutdown についてさらに検索

タグ

タグが未入力です。

Community Treasure Hunt

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

Start Hunting!

Translated by