Rank: 668 based on 222 downloads (last 30 days) and 12 files submitted
photo

Jonathan Sullivan

E-mail

Personal Profile:

 

Watch this Author's files

 

Files Posted by Jonathan Sullivan View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
20 Feb 2013 Recursive Directory Searching for Multiple File Specs Searches a directory for multiple file specs with optional recursivity Author: Jonathan Sullivan dir, recursive, files, filespec, ext, mex 28 6
  • 4.75
4.8 | 5 ratings
24 Jan 2013 Screenshot Candystripe a Plot and Legend Adds candystriping to a given object, and automatically updates the legend entry as well. Author: Jonathan Sullivan plots, patch, bar, stripe, candystripe, legend 16 0
27 Jun 2012 Clear Most Allows the user to clear all but leave the breakpoints in place. Author: Jonathan Sullivan clear, breakpoints, functions, builtin, utility 12 2
  • 3.5
3.5 | 2 ratings
08 Nov 2011 Screenshot Automatic Map Scale Generation Intelligently creates and places a scale on a figure based on the lat/lon limits. Author: Jonathan Sullivan map, scale, callback, legend, scaleruler, scalebar 22 3
  • 5.0
5.0 | 1 rating
26 Oct 2011 CATPAD Concatenation of arbitrarily sized data along any dimension. Author: Jonathan Sullivan add, cat, length, size, nan, combine 26 3
  • 5.0
5.0 | 6 ratings
Comments and Ratings by Jonathan Sullivan View all
Updated File Comments Rating
27 Sep 2013 extend Matlab Editors callback Extends the editor features. Closing brackets, Operator. Templates, Keyboard Shortcuts Author: Andreas J.

This is great. I like the idea. I have a few comments.

First off, there is a somewhat distracting flashing of the editor window when the "+=" type of substitution is occurring. Not a big deal, but it would be nice to fix it.

Secondly, the colorization of the breakpoint bar wasn't working. It couldn't find it by the .getComponent calls you hard coded in. I do have a solution that will dynamically find it. It is below. Notice the change in the number of arguments to the function colorizeBreakPointBar.

function colorizeBreakPointBar(jMainPane,color)
[names, access] = findAllComponents(jMainPane);
a = access(strcmpi(names,'BreakpointView$2'));
for jj = 1:length(a)
inds = a{jj};
this = jMainPane;
for ii = 1:length(inds)
this = this.getComponent(inds(ii));
end
this.set('background',color(1:3));
end

function [names, access] = findAllComponents(jMainPane,names,access,access_base)

cmps = jMainPane.getComponents;

if nargin == 1;
names = {};
access = {};
access_base = [];
end

for ii = 1:length(cmps)
c = regexp(char(cmps(ii).toString),'\.([^\[\.]+)\[','tokens');
names{end+1} = c{1}{1};
access{end+1} = [access_base ii-1];

[names, access] = findAllComponents(jMainPane.getComponent(ii-1),names,access,access{end});

end

names = names(:);
access = access(:);

23 May 2013 diskfree Queries the free space of a volume Author: Martin Furlan

13 Mar 2013 exportToPPTX MatLab tool for exporting data to PowerPoint 2007+ files without using COM-objects automation Author: Stefan Slonevskiy

This is great.

However, I did encounter a bug. It seems as though you can only have unique image per slide. This is quite limiting. If you can fix this bug, I'd gladly change my rating to 5 stars

09 May 2012 DateStr2Num Convert date string to date number - C-Mex: much faster than DATENUM Author: Jan Simon

Very nice submission. It is enormously faster than datenum. Another great file from Jan.

19 Mar 2012 FINDSEQ Find sequences of repeated (adjacent/consecutive) numeric values. NaNs and Infs are supported. Author: Oleg Komarov

Very nifty function. It is very efficient too. Well done!

Comments and Ratings on Jonathan Sullivan's Files View all
Updated File Comment by Comments Rating
03 Oct 2014 CATPAD Concatenation of arbitrarily sized data along any dimension. Author: Jonathan Sullivan Christian

This is really great work. Thanks for your kind contribution.

09 Apr 2014 Recursive Directory Searching for Multiple File Specs Searches a directory for multiple file specs with optional recursivity Author: Jonathan Sullivan Matt

thanks

09 Apr 2014 Recursive Directory Searching for Multiple File Specs Searches a directory for multiple file specs with optional recursivity Author: Jonathan Sullivan Matt

21 Feb 2014 Recursive Directory Searching for Multiple File Specs Searches a directory for multiple file specs with optional recursivity Author: Jonathan Sullivan Michel bertrand

oups ..... sorry Jonathan, I made a mistake in my last comments; the path from the initial directory really shows up in the structure ouput by dir2; I do not know how I got to be convinced it was not the case.......Getting the fullpath would still be nice to have. Sorry again. Up-rating to 4.2 !!!

21 Feb 2014 Recursive Directory Searching for Multiple File Specs Searches a directory for multiple file specs with optional recursivity Author: Jonathan Sullivan Michel bertrand

In the current version ( feb 21st, 2014) I would rate it as 3.7;
1) I think that a default install for dir2_mex for a pc is a little too much if one just wants to try dir2 to see how it works; installing dir2_mex could be handled with a param/val list; I personally commented the ispc block so I would not have to worry about mex-ing.
2) dir2 output the files name without giving their path and therefore is of limited use in a multilevel directory situation; it can be hard to get to the file if several levels are involved
3) I tried one way to get a recursive dir on Windows using system() call to DOS dir, i.e. system( 'dir /s /b'); this however does not work with filename that contains certain characters (as in my case accented characters); dir2 works fine for such case; furthermore the dir2.m is better since it is less machine-dependent and should work equally well on Unix-like platform

Contact us