Rank: 1644 based on 76 downloads (last 30 days) and 10 files submitted
photo

Gerald Dalley

E-mail
Company/University
MIT CSAIL

Personal Profile:

 

Watch this Author's files

 

Files Posted by Gerald Dalley View all
Updated   File Tags Downloads
(last 30 days)
Comments Rating
07 Jun 2007 rsplit Splits a delimited string into a cell array using a regular expression. Author: Gerald Dalley strings, string, break, split, cell, array 6 6
  • 4.0
4.0 | 3 ratings
07 Nov 2006 assert.m Assert function that expands like the C macro assert Author: Gerald Dalley regression tests test... 20 4
  • 2.66667
2.7 | 3 ratings
21 Feb 2006 globalLoad.m Loads a .mat file's variables into the global namespace Author: Gerald Dalley global load persisten... 11 0
21 Feb 2006 collapse.m Removes degenerate portions of a cell array tree. Author: Gerald Dalley structures, cell arrays, cell, tree, collapse, branch 5 1
  • 4.0
4.0 | 1 rating
21 Feb 2006 mtx2charcell Converts a matrix of numbers into a cell array of strings. Author: Gerald Dalley strings, string cell number 5 4
  • 4.0
4.0 | 1 rating
Comments and Ratings on Gerald Dalley's Files View all
Updated File Comment by Comments Rating
29 Dec 2011 join Concatenates a set of strings, with a delimiter between each string. Author: Gerald Dalley John Colby

19 Dec 2011 join Concatenates a set of strings, with a delimiter between each string. Author: Gerald Dalley John Colby

Something like this should be built in. Thanks!

10 Nov 2011 rsplit Splits a delimited string into a cell array using a regular expression. Author: Gerald Dalley Anton Guimera

02 May 2011 split Splits a delimited string into a cell array. Author: Gerald Dalley Patrick Mineault

A more efficient way of doing the same thing which supports tabs and newlines:

splitchar = '\n'; %Split on newline characters
C = textscan(s,['%s' splitchar]);

11 Sep 2009 printf, stdout, stderr Convenience functions for text output (printf, stdout, and stderr). Author: Gerald Dalley julien diener

Sorry but it is not usefull as this is exactly what fprintf is already doing.

However, it could be nice to be able to catch everything that is written in the command window without using evalc. If you have an idea, please submit it. (for example with a nice overload of fprintf)

Contact us