필터 지우기
필터 지우기

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 CenterFile Exchange에서 Startup and Shutdown에 대해 자세히 알아보기

제품


릴리스

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by