source: prdatasets/pr_showdsets.m @ 150

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

Updated collection of datasets

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