MATLABConnector keeps creating a ~/bin folder

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 日

0 投票

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?

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeStartup and Shutdown についてさらに検索

質問済み:

2023 年 4 月 2 日

コメント済み:

2023 年 4 月 11 日

Community Treasure Hunt

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

Start Hunting!

Translated by