Rank: 109 based on 502 downloads (last 30 days) and 20 files submitted
photo

Kesh Ikuma

E-mail

Personal Profile:
Professional Interests:
signal processing

 

Watch this Author's files

 

Files Posted by Kesh View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
28 Aug 2014 hgsetgetex: Extension of hgsetget Class (v.2.5) Extended HG-style set and get for MATLAB objects Author: Kesh Ikuma oop, classdef, hgsetget 37 0
03 Jul 2014 Screenshot inputsdlg: Enhanced Input Dialog Box (v2.1) Predefined dialog box function to accept user inputs of several forms Author: Kesh Ikuma gui, inputdlg, dialog, uigetfile, uiputfile, uigetdir 75 48
  • 4.66667
4.7 | 13 ratings
09 Apr 2014 EPS Utility Toolbox A set of functions to generate publisher-happy EPS images Author: Kesh Ikuma eps, print, image export, postscript, font embedding, line style 83 40
  • 5.0
5.0 | 4 ratings
04 Apr 2014 MASK2POLY (4/4/14) Convert mask to region-of-interest polygons Author: Kesh Ikuma image, region of interest 11 0
20 Feb 2014 ANNOTATEAXES: Annotation object in axes data coordinate ANNOTATEAXES places a built-in annotation object and tie it to an axes Author: Kesh Ikuma utility, graphics, annotation 7 0
Comments and Ratings by Kesh View all
Updated File Comments Rating
02 Aug 2014 inputsdlg: Enhanced Input Dialog Box (v2.1) Predefined dialog box function to accept user inputs of several forms Author: Kesh Ikuma

@Spigge - All edit box formats with dialog prompts are implemented with uicontrol's ButtonDownFcn (instead of Callback) and Enable='inactive'. So, in order for you to toggle the dir edit box Enable state, you need to do the following:

From Enabled -> Disabled
1. Save dir edit's ButtonDownFcn (I usually use the edit's UserData property)
2. Set edit's Enable to 'off' and ButtonDownFcn to [] (and UserData with the callback function)

From Disabled->Enabled
1. Retrieve the saved ButtonDownFcn callback
2. Set edit's Enable to 'inactive' and reinstate ButtonDownFcn

Hope this helps

19 Apr 2014 EPS Utility Toolbox A set of functions to generate publisher-happy EPS images Author: Kesh Ikuma

@Khawaja - EPS Utility Toolbox cannot help you with your problem. epsgetbbox just returns the bounding box that encapsulates all objects in an EPS image.

If they are simple shapes (i.e., groups of connected line segments), you can probably "decode" the postscript by writing your own purser. Your first step is to look at your .eps file in a text editor with the help of the PS standard, which is linked above in the toolbox description. Good luck.

08 Apr 2014 EPS Utility Toolbox A set of functions to generate publisher-happy EPS images Author: Kesh Ikuma

@Jay - You are not calling epswrite correctly. You need to provide the file name for the EPS file as the first argument. E.g., epswrite('myplot.eps','Size',[10 15])

This being said, ESPWRITE should have produced an "official" error with your set of input arguments. I will put this check in the next release. Thanks.

14 Mar 2014 EPS Utility Toolbox A set of functions to generate publisher-happy EPS images Author: Kesh Ikuma

@Junjie - Your fix is the correct one. I uploaded the fixed version just before your post, but the only change in the new version is what you suggested. Thanks.

01 Jan 2014 inputsdlg: Enhanced Input Dialog Box (v2.1) Predefined dialog box function to accept user inputs of several forms Author: Kesh Ikuma

@Dan - Yeah, that error message is awfully cryptic and so ESL, isn't it? Sorry about that (it'll be improved in the next upload). It's telling you that the number of Formats elements do not match the number of Prompt rows. Here is how I modified your inputsdlg line to make it run:

[Answer,Cancelled] = inputsdlg(Prompt,Title,Formats(1:3),rmfield(DefAns,'DataFolder'),Options);

The dimensions of Prompt, Formats, and DefAns inputs are critical for this function to run. If you are creating a "dense" dialog (i.e., w/o any empty prompt cell), the number of rows of Prompt must match the number of elements of Formats, and DefAns' fields must exactly account for all the second column of Prompt array.

Good luck! -Kesh

Comments and Ratings on Kesh's Files View all
Updated File Comment by Comments Rating
02 Aug 2014 inputsdlg: Enhanced Input Dialog Box (v2.1) Predefined dialog box function to accept user inputs of several forms Author: Kesh Ikuma Ikuma, Kesh

@Spigge - All edit box formats with dialog prompts are implemented with uicontrol's ButtonDownFcn (instead of Callback) and Enable='inactive'. So, in order for you to toggle the dir edit box Enable state, you need to do the following:

From Enabled -> Disabled
1. Save dir edit's ButtonDownFcn (I usually use the edit's UserData property)
2. Set edit's Enable to 'off' and ButtonDownFcn to [] (and UserData with the callback function)

From Disabled->Enabled
1. Retrieve the saved ButtonDownFcn callback
2. Set edit's Enable to 'inactive' and reinstate ButtonDownFcn

Hope this helps

01 Aug 2014 inputsdlg: Enhanced Input Dialog Box (v2.1) Predefined dialog box function to accept user inputs of several forms Author: Kesh Ikuma Spigge

Hi Kesh,

I have created a check box that controls the enable state of an edit text box with the format 'dir'. The edit box is initially disabled (grayed) and gets enabled (white) when the check box is checked and back to disabled when the check box is unchecked. So far so good. The problem is that the default behaviour of the edit box on mouse click, which is to open a file dialog (via UIGETDIR) and then display the selected directory as a string in the edit box, is lost when disabled and enabled this way. Instead it behaves like a normal edit box of format 'text'. Why does this happen and how can I get it to work properly you think?

Thanks!

01 Aug 2014 inputsdlg: Enhanced Input Dialog Box (v2.1) Predefined dialog box function to accept user inputs of several forms Author: Kesh Ikuma Spigge

02 Jun 2014 EPS Utility Toolbox A set of functions to generate publisher-happy EPS images Author: Kesh Ikuma Pete

@Chris - I had the same issue with wma_ fonts (matlab appear to have renamed their fonts at some point, and illustrator seems to demand that the specified font is installed on the system even if it is embedded in the file??).

I solved the problem by [using Mac OS X], by installing TTX and using it to rename my cmr10 and cmmi10 system fonts as mwa_cmr10 and mwa_cmmi10 (and then installing these new fonts). For step by step instructions, see: http://www.fontgeek.net/blog/?cat=7

I also ended up installing FontForge and replacing some of the glyphs in cmmi10, which were a bit wonky in my version (e.g., triangles instead of decimal points)

22 May 2014 FFmpeg Toolbox A set of wrapper functions to run FFmpeg directly from Matlab Author: Kesh Ikuma bharath

Contact us