フィルターのクリア

How can I permanently disable Matlab Drive in Linux?

17 ビュー (過去 30 日間)
LionelB
LionelB 2023 年 11 月 21 日
コメント済み: Lucas Ritzdorf 2024 年 1 月 26 日
I would like to permanently disable Matlab Drive in Linux (R2023b). I have no use for this functionality, and do not want unnecessary services running on my machine (especially when I am not even running Matlab!)
I have tried uninstalling ServiceHost, but then Matlab will not start.

回答 (1 件)

Pratyush
Pratyush 2023 年 11 月 21 日
編集済み: Pratyush 2023 年 11 月 21 日
Hi Lionel,
I understand that you want to disable MATLAB Drive permanently on your system.
  • You can follow this link to logout from MATLAB Drive connector. https://in.mathworks.com/matlabcentral/answers/452867-how-can-i-log-out-of-matlab-drive-connector
  • After this, navigate to the directory where Matlab is installed. This is typically "/usr/local/MATLAB/R2023b" or a similar location.
  • Within this directory, find the "toolbox/matlab/drive" folder. This is where the Matlab Drive service is located. Remove this folder.
  • Check if there are any startup scripts related to Matlab Drive in userpath. If you find any, you can disable them using the appropriate commands for your Linux distribution.
Refer to the following documentation link to know about startup script and userpath.
Hope this helps.
  2 件のコメント
LionelB
LionelB 2023 年 11 月 21 日
編集済み: LionelB 2023 年 11 月 21 日
Hi Pratyush,
I have followed all those steps as far as possible, but that doesn't seem to do the job. The problem in those instructions appears to be the "... and reinstall" part. Without reinstalling the Service Host, Matlab will not start; after reinstalling it, however, MathWorksServiceHost always starts up - and lingers even after exiting from Matlab.
I have checked for, and deleted, all autostart scripts set up by Service Host, and there are no drive-related scripts on userpath or any startup files.
I note also that there was no directory called drive in <matlab-installation-path>/toolbox/matlab (or anywhere else on the installation path) for R2023b.
Lucas Ritzdorf
Lucas Ritzdorf 2024 年 1 月 26 日
I've also followed the above steps, and am encountering the same issue as LionelB above — specifically, the service host still lingers after exiting MATLAB proper. Also similarly, no drive directory was present for me in the specified location. Is some other component starting the service host, and forgetting to kill it upon exit?

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

カテゴリ

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

製品


リリース

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by