MATLAB Connector tries to reinstall every time I start it

10 ビュー (過去 30 日間)
Matt J Dunn
Matt J Dunn 2021 年 4 月 1 日
回答済み: Conor Burgess 2022 年 2 月 11 日
I'm using MATLABConnector on Ubuntu. MATLABConnector doesn't start at bootup, so I have to type MATLABConnector start at the Linux terminal to start it. The first time I run this command, the MATLABConnector installation window appears. Subsequent commands sent using MATLABConnector (such as start, toggle, status and stop) work as expected, but only until I reboot the computer. After a reboot, the command MATLABConnector start brings up the installation procedure again. Consequently, I have to reinstall MATLABConnector every time I boot up the computer.
How do I fix this behaviour? Having to reinstall the software every time I turn on the computer is a real hassle.
  2 件のコメント
Xiangmin (Jim) Jiao
Xiangmin (Jim) Jiao 2021 年 4 月 19 日
I am having the same (or a similar) issue with MATLABConnector v1.7.0.24 on Ubuntu. After restart, running MATLABConnector start would start the configuration process again. I have to reenter my email address and password and choose the path for MATLAB-Drive. It seems that MATLABConnector did not save the configuration on the local disk or could not read the saved configuration. It seems to be a bug. Hopefully MathWorks will look into this and fix it in the next release.
Richard Ketchersid
Richard Ketchersid 2021 年 12 月 28 日
I have the same issue and have been having it for some time on Windows 10.

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

回答 (1 件)

Conor Burgess
Conor Burgess 2022 年 2 月 11 日
Apologies for the delayed response. The most reliable way to resolve these issues is to grab a fresh install. Here's how:
  1. Kill any MATLABConnector process, and then any MathworksServiceHost processes that are running (System Monitor or the killall command can be used for this).
  2. In a terminal, run the following commands
rm -rf ~/.MATLABConnector/v1.*
rm -rf ~/.MATLABConnector/$HOST/LatestInstall.info
rm -rf ~/.MATLABConnector/$HOST/UpdatePending.json
rm -rf ~/.MathWorks/ServiceHost/$HOST/v1.*
rm -rf ~/.MathWorks/ServiceHost/$HOST/LatestInstall.info
rm -rf ~/.matlab/credentials
There's then one thing to clean up in your login keyring - you can access this by running seahorse and then looking for the login keyring under "Passwords". In there, you may find one or more items named MathWorks Key. Please remove these.
If you then head over to https://www.mathworks.com/products/matlab-drive.html and re-download the latest Linux installer, you can run it from a terminal with e.g. (the version number may well be newer than this):
sh ~/Downloads/mathworksservicehost_1.9.1.1_glnxa64_installer.bin
It should then kick off a fresh install, and get you up and running on the latest version, which should then keep itself up to date without any more issues.

カテゴリ

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