View License

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video

3.5 | 10 ratings Rate this file 10 Downloads (last 30 days) File Size: 115 KB File ID: #19188 Version: 1.1
image thumbnail

IconEditor v1.6 (2010)


Elmar Tarajan (view profile)


12 Mar 2008 (Updated )

iconeditor icon editor for creating and editing icons and small images.

Editor's Notes:

This file was selected as MATLAB Central Pick of the Week

| Watch this File

File Information

ICONEDITOR create and edit icons or mouse cursors in either standard or custom sizes

    x - horizontal size (16 as deault)
    y - horizontal size (16 as deault)
    pixel - size of each dot (13 as deafult)

    same as iconeditor(16,16,16)

    img - 3D-RGB image matrix

    img - RGB image matrix
    pixel - size of each pixel (13 as deault)


This file inspired Custom Pan/Zoom Icons.

MATLAB release MATLAB 7.9 (R2009b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (14)
19 Jan 2017 Jouke van der Krieke

19 Jun 2016 Arabarra

I love this utility!
Only (but very big) con: It's a pity the code is protected: now with R2016a it doesn't work any longer, and I cannot try to fix the problem.

05 Apr 2016 Greg

Greg (view profile)

I've been using and loving this utility for a long time, but it finally broke in R2016a. The previously-reported warning message is now an error:

The P-code file Z:\Matlab\icons\iconeditor.p was generated prior to MATLAB version 7.5
(R2007b) and is no longer supported. Use pcode to regenerate the file using MATLAB R2007b
or later.

25 Nov 2014 Robert Moss

I'm running MATLAB Version: (R2013a). When running the p-code file, I receive this:

Warning: The P-code file iconeditor.p was generated prior to MATLAB
version 7.5 (R2007b) and will not be supported in a future release.
Use pcode to regenerate iconeditor.p using MATLAB R2007b or later.

In addition to this warning, the pixels are not being colored properly when using the gui.

Would it be possible to get a freshly generated p-code file, or better yet, the actual code? I might be able to fix it then.

30 Sep 2014 Daniel

Daniel (view profile)

01 Aug 2013 John Thompson

Hello Elmar,

Great tool! What is the simplest way to export the gui doodle to an icon format (i.e. jpg)?


Comment only
21 Dec 2011 Elmar Tarajan

Elmar Tarajan (view profile)

@Y Mehta

In case when you want to place both, the icon and the text within the pushbutton - e.g. icon on left side and text on the right, so you can see how it looks - if there is enough space.

Especially I have created icons like a boarder around the text.

Comment only
09 Aug 2011 Changshun Deng

23 Nov 2010 Y Mehta


This is a great utility and I am using it extensively. Thank you.

I observed that I can *right* click one of the top five pushbuttons and choose "set string" option. When I do so, it sets a string in the pushbutton. What's the purpose of that? When I export icons after writing those strings, the string has no effect on the icon.

19 Aug 2008 jairo Ortiz

17 May 2008 Paul Premakumar

Very nice tool! Very easy to use and the GUI is cool.

06 May 2008 Elmar Tarajan

>> an error while selecting the standard
>> options again after other color options.

Comment only
14 Mar 2008 Saim .X

i also encountered an error while selecting the standard options again after other color options. following error was encountered:

??? Error using ==> eval
Undefined function or method 'standard' for input arguments of type 'double'.

Error in ==> iconeditor>changecolormap at 477
set(h,'FaceVertexCData',reshape(repmat(eval([get(obj,'Label') '(48)'])',4,1),[3 192])');

??? Error while evaluating uimenu Callback

Comment only
14 Mar 2008 Saim .X

it's cool, GUI IS COOL.i would like to see the next version with more features of like
1. importing the icon or image.
2. put a help guide.
3. saving the file in icon format.
4. giving the user an option to select the size of the canvas/ or resolution etc.
5. Keep the work, waiting for ur nxt version
as it took time for me to understand the working.

18 Mar 2008

+ "convert to grayscale" feature added
- bug fixed

05 Mar 2010 1.1

New in 1.6
- convert color image to grayscale
- hot keys STRG+Y and STRG+Z for undo and redo
- code imprvements

Contact us