What is the Project Icon file?

2 ビュー (過去 30 日間)
Roy Goodman
Roy Goodman 2020 年 9 月 3 日
回答済み: Roy Goodman 2020 年 12 月 28 日
I am turning a project (lower case p) into a Project (upper case P).
I just noticed a file in the directory called "Icon" although it doesn't appear in the Mac Finder.
What is this? Can I design an icon and put it here? Googling "MATLAB project icon" hasn't been helpful.

採用された回答

Roy Goodman
Roy Goodman 2020 年 12 月 28 日
Answering my own question:
I'm using a Mac. Any folder on a Mac that has a custom Icon contains a hidden file called "Icon\r" which holds the icon. I have the project in a shared Dropbox folder. Dropbox automatically modifies the folder icon to indicate it is shared. Hence, the Icon file. See here for more details.
If you try to delete this file, Dropbox regenerates it. You can exclude it from the project and from Git source control, but you can't get rid of it as long as the folder is shared.

その他の回答 (0 件)

タグ

製品


リリース

R2020a

Community Treasure Hunt

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

Start Hunting!

Translated by