source: prdatasets/pr_showdsets.m @ 145

Last change on this file since 145 was 142, checked in by bduin, 5 years ago

Updated collection of datasets

File size: 552 bytes
RevLine 
[139]1%PR_SHOWDSETS Show datasets and store results in DSET
2
[142]3forget = {'Contents','mfeat_all','check_','pr_'};
[139]4commands = struct2cell(dir('*.m'));
5commands = commands(1,:);
6L = strmatch('pr_',commands);
7commands(L) = [];
8
9for j=1:numel(commands)
10  commands{j} = commands{j}(1:end-2);
11end
[142]12J = [];
[139]13for i=1:numel(forget)
[142]14  J = [J strmatch(forget{i},commands)];
[139]15end
[142]16commands(J) = [];
[139]17 
18for j=1:numel(commands)
19  a = feval(commands{j});
20  [m,k,c] = getsize(a);
[142]21  fprintf('%c%-14s %6i %6i %4i  %s\n','%',commands{j},m,k,c,getname(a));
[139]22end
23
Note: See TracBrowser for help on using the repository browser.