Borrar filtros
Borrar filtros

How can I permanently disable Matlab Drive in Linux?

17 visualizaciones (últimos 30 días)
LionelB
LionelB el 21 de Nov. de 2023
Comentada: Lucas Ritzdorf el 26 de En. de 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.

Respuestas (1)

Pratyush
Pratyush el 21 de Nov. de 2023
Editada: Pratyush el 21 de Nov. de 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 comentarios
LionelB
LionelB el 21 de Nov. de 2023
Editada: LionelB el 21 de Nov. de 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 el 26 de En. de 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?

Iniciar sesión para comentar.

Categorías

Más información sobre Startup and Shutdown en Help Center y File Exchange.

Productos


Versión

R2023b

Community Treasure Hunt

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

Start Hunting!

Translated by