Customizing icons in Current Folder window

In the Current Folder window, one sees different types of files with different types of extensions (.mat, .m, etc...) assigned an icon.
Are these icons defined in MATLAB, or elsewhere, and is there a way to define one's own icon for new file types/extensions? For example, CUDA code is customarily given a .cu extension. Is it possible to make the Current Folder window display a certain kind of icon for files with that extension?

Antworten (1)

Image Analyst
Image Analyst am 12 Jan. 2014

0 Stimmen

Not sure. What happens if you change the icon in the operating system for a particular extension? Does it show up in the current folder with the new icon?

4 Kommentare

Matt J
Matt J am 13 Jan. 2014
Bearbeitet: Matt J am 13 Jan. 2014
I can't do that test, unfortunately. Windows 7 makes changing the association between extensions and icons really hard. However, one can see that .mat files have a different icon when viewed in Windows Explorer, as compared to the MATLAB Current Folder. So clearly, MATLAB has some icon selection mechanism of its own that overrides the operating system's, no?
Image Analyst
Image Analyst am 13 Jan. 2014
Yeah, you're right - I didn't notice that the icons are different. So you may be out of luck.
Matt J
Matt J am 13 Jan. 2014
Bearbeitet: Matt J am 13 Jan. 2014
Why out of luck? If MATLAB can do it, then it might offer an easier way than going through Windows 7.
Image Analyst
Image Analyst am 13 Jan. 2014
Yeah, if they offered that in the preferences. My guess is that the icons they chose are hard coded into some resource and not available for you to change.

Melden Sie sich an, um zu kommentieren.

Kategorien

Tags

Gefragt:

am 10 Jan. 2014

Kommentiert:

am 13 Jan. 2014

Community Treasure Hunt

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

Start Hunting!

Translated by