Effacer les filtres
Effacer les filtres

How can I permanently disable Matlab Drive in Linux?

17 vues (au cours des 30 derniers jours)
LionelB
LionelB le 21 Nov 2023
Commenté : Lucas Ritzdorf le 26 Jan 2024
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.

Réponses (1)

Pratyush
Pratyush le 21 Nov 2023
Modifié(e) : Pratyush le 21 Nov 2023
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 commentaires
LionelB
LionelB le 21 Nov 2023
Modifié(e) : LionelB le 21 Nov 2023
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 le 26 Jan 2024
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?

Connectez-vous pour commenter.

Catégories

En savoir plus sur Startup and Shutdown dans Help Center et File Exchange

Produits


Version

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by