MATLABConnector keeps creating a ~/bin folder

4 visualizaciones (últimos 30 días)
LUCA DOMENEGHETTI
LUCA DOMENEGHETTI el 2 de Abr. de 2023
Comentada: Walter Roberson el 11 de Abr. de 2023
Hello everyone.
I am trying to resolve an issue which is more estethic-wise rather than a malfunctioning of some sort.
Since installing MATLABConnector on my Fedora machine, I see that it keeps creating a ~/bin folder where it stores a soft link to the main MATLABConnector script which provides the functionality needed. This folder is quite useless, as I already moved that link inside of my ~/.local/bin folder to provide full access anywhere on the file-system.
No matter how many times I delete this folder, it keeps coming back and it's quite annoying... I don't want MatLab messing arround with my home folder. I have found some config files which seemed to have a switch to turn this feature off, but it didn't affect at all this issue.
Does anyone know how to resolve it?
Thanks to everyone.

Respuestas (1)

Rasmita
Rasmita el 11 de Abr. de 2023
Hi Luca,
It is my understanding that, when you installed 'MATLABConnector', it created a useless folder ~/bin. You want to know a way to delete this folder. It looks like you have already tried some ways, but it is not deleting permanently. If you haven't already, please try the following ways:
  1. You can try renaming the ~/bin folder. This will prevent 'MATLABConnector' from creating the folder again. However, if 'MATLABConnector' is dependent on the ~/bin folder, this step may cause issues.
  2. Another option is to create a symbolic link to the 'MATLABConnector' script in the ~/.local/bin folder instead of moving the script itself. This way, 'MATLABConnector' can still find the script without creating the ~/bin folder.
For more information, please refer to following documentations:
Hope this helps!
Regards,
Rasmita
  1 comentario
Walter Roberson
Walter Roberson el 11 de Abr. de 2023
It is not clear to me how a program could tell the difference between:
mkdir ~/bin
mkdir ~/junk
rmdir ~/bin
compared to
mkdir ~/bin
mv ~/bin ~/junk
The user has already tried deleting ~/bin but MATLAB Connector keeps recreating it. How would MATLAB Connector tell the difference between having an unrelated directory in ~/ compared to having renamed ~/bin to something with an unrelated name?

Iniciar sesión para comentar.

Categorías

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

Community Treasure Hunt

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

Start Hunting!

Translated by