Mercurial > hg > ishara
diff general/fileutils/listfiles.m @ 37:beb8a3f4a345
Renamed prefs to options throughout.
author | samer |
---|---|
date | Mon, 28 Jan 2013 10:52:11 +0000 |
parents | 47cb292350f3 |
children |
line wrap: on
line diff
--- a/general/fileutils/listfiles.m Thu Jan 24 14:51:23 2013 +0000 +++ b/general/fileutils/listfiles.m Mon Jan 28 10:52:11 2013 +0000 @@ -11,7 +11,7 @@ % } % -> {[N]->text} ~'cell array of N paths'. -opts=prefs('rec',0,varargin{:}); +opts=options('rec',0,varargin{:}); if isfield(opts,'pattern'), dirpat = fullfile(dirname,opts.pattern);