MATLABConnector keeps creating a ~/bin folder

4 vues (au cours des 30 derniers jours)
LUCA DOMENEGHETTI
LUCA DOMENEGHETTI le 2 Avr 2023
Commenté : Walter Roberson le 11 Avr 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.

Réponses (1)

Rasmita
Rasmita le 11 Avr 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 commentaire
Walter Roberson
Walter Roberson le 11 Avr 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?

Connectez-vous pour commenter.

Catégories

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

Community Treasure Hunt

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

Start Hunting!

Translated by