MATLABConnector keeps creating a ~/bin folder

4 次查看(过去 30 天)
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.

回答(1 个)

Rasmita
Rasmita 2023-4-11
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 个评论
Walter Roberson
Walter Roberson 2023-4-11
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?

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Startup and Shutdown 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by