Matlab 2023b Apple Silicon每次打开都需要重新登陆

Matlab 2023b Apple Silicon每次打开都需要登陆,有一个这样的弹窗提示:无法保存登陆信息。您当前已登陆,但下次启动此应用程序时会提示您再次登陆,不知道是怎么回事?在linux上没有遇到这一问题。

6 Comments

Approximate translation:
Matlab 2023b Apple Silicon needs to log in every time it is opened. There is a pop-up window prompting: Unable to save login information. You are currently logged in, but the next time you launch this application, you will be prompted to log in again. What's going on? I haven't encountered this problem on linux.
博
on 1 Nov 2023
我也是这个问题 解决不了很烦 不知道是不是只有2023b版本有
俺也一样,2023b
我也是这样
晨盛
晨盛 on 25 Dec 2023
我也一样,请问有解决办法吗
波
on 10 Mar 2025
Moved: Walter Roberson on 10 Mar 2025
我也遇到了一样的问题,请问你解决了嘛,我重装了matlab还是有这个问题

Sign in to comment.

 Accepted Answer

Divyanshu
Divyanshu on 4 Jan 2024

3 votes

Hi Sheng,
If this error occurs when attempting to start MATLAB, there is a possibility of conflict between the MATLABConnector ServiceHost and the MathWorks Service Host.
A possible way to resolve this is to reinstall MathWorks Service Host, please refer the following answer thread to know how to uninstall and reinstall MathWorks Service Host:
 
If this does not work, please try resetting your local credentials with the following steps:
  • Shutdown any running MATLABs, MathWorksServiceHost and MATLABConnector processes.
  • Delete their credentials storage folder. It can be found at the following path in MAC OS:
"~/Library/Application Support/MathWorks/credentials"
  • Try running MATLAB again.  
If this error occurs when attempting to start up MATLAB Drive 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 issue with secrets file refer the following steps:
  • Delete the following directory: /Users/$USER/Library/Application Support/MathWorks/credentials
  • Delete the "MathWorks Key" key found in your login keychain in the Keychain Access app under UtilitiesRestart MATLAB Drive Connector.
Hope it helps!

1 Comment

xmzzl
xmzzl on 15 Jan 2024
我的是Windows系统,按照操作重装了MathWorks Service Host,没有用,打开Matlab 2023b时依然提示“无法保存登录信息”,每次都需要重新登录,不知道credentials storage folder在Windows系统中的哪里

Sign in to comment.

More Answers (1)

C C
C C on 26 Feb 2024

6 votes

因为这个目录 AppData\Roaming\MathWorks\MATLAB 缺一个R2023b_licenses文件夹(里面是license)才每次都要登录的,如果你之前安装过的话把之前文件夹的名字改成这个就行啦

7 Comments

博文
博文 on 11 Jun 2024
厉害的
康健
康健 on 30 Jul 2024
请问这个文件在哪儿找啊
感谢感谢!
zi
zi on 31 Dec 2024
感谢!
浩然
浩然 on 8 Feb 2025
问的是apple silicon, macOS版本; 你这个目录是windows
很对
昌柱
昌柱 on 19 Jan 2026
Edited: 昌柱 on 19 Jan 2026
我自己笔电装的是matlab 2025b,学校买的正版的,在重启之前,登录一次之后,出现图中的提示,关掉MATLAB,然后再次打开,没有提升需要再登录,能打开。但是电脑关机重启后,再次打开MATLAB,仍然会出这样这样的提示。我在其他电脑上尝试装过这个版本,打开软件能登录,也没有出现无法保存登录信息的提示,但是在有关文件目录下,也没有找到相应的R2025b_licenses文件夹,也能正常启动使用,电脑重启再打开也不会。就很奇怪了!

Sign in to comment.

Categories

Find more on 启动和关闭 in Help Center and File Exchange

Products

Release

R2023b

Tags

Asked:

on 19 Oct 2023

Edited:

on 19 Jan 2026

Community Treasure Hunt

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

Start Hunting!