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)
Elmar Tarajan (2021). IconEditor v1.6 (2010) (https://www.mathworks.com/matlabcentral/fileexchange/19188-iconeditor-v1-6-2010), MATLAB Central File Exchange. Retrieved .
It may be required to run this before using MATLAB's built in iconeditor:
Instead of using this outdated and p-coded submission, i've resorted to using built-in iconeditor, as described here: https://www.mathworks.com/help/matlab/creating_guis/creating-toolbars.html#bralqx5
To be able to use GUIDE's icon editor in standalone mode, call it like this:
cdata = iconeditor
cdata then contains your icon. You can save it to mat file and import it later to GUIDE's icon editor to continue editing.
Not sharing the source code is hardly sharing, especially when it is not maintained: p-code was generated back with R2007b, and I'm writing this in 2017!
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.
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
I'm running MATLAB Version: 18.104.22.1684 (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.
Great tool! What is the simplest way to export the gui doodle to an icon format (i.e. jpg)?
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.
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.
Very nice tool! Very easy to use and the GUI is cool.
>> an error while selecting the standard
>> options again after other color options.
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
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.
Inspired: Custom Pan/Zoom Icons
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!