source: prdatasets/pr_showdsets.m @ 139

Last change on this file since 139 was 139, checked in by bduin, 5 years ago
File size: 516 bytes
RevLine 
[139]1%PR_SHOWDSETS Show datasets and store results in DSET
2
3forget = {'Contents','mfeat_all'};
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
12for i=1:numel(forget)
13  J = strcmp(forget{i},commands);
14  commands(J) = [];
15end
16 
17for j=1:numel(commands)
18  a = feval(commands{j});
19  [m,k,c] = getsize(a);
20  fprintf('%6i %4i %4i %15s %s\n',m,k,c,commands{j},getname(a));
21end
22
Note: See TracBrowser for help on using the repository browser.