Ignore:
Timestamp:
01/05/20 23:22:59 (5 years ago)
Author:
bduin
Message:

Updated collection of datasets

File:
1 edited

Legend:

Unmodified
Added
Removed
  • prdatasets/pr_showdsets.m

    r139 r142  
    11%PR_SHOWDSETS Show datasets and store results in DSET
    22
    3 forget = {'Contents','mfeat_all'};
     3forget = {'Contents','mfeat_all','check_','pr_'};
    44commands = struct2cell(dir('*.m'));
    55commands = commands(1,:);
     
    1010  commands{j} = commands{j}(1:end-2);
    1111end
     12J = [];
    1213for i=1:numel(forget)
    13   J = strcmp(forget{i},commands);
    14   commands(J) = [];
     14  J = [J strmatch(forget{i},commands)];
    1515end
     16commands(J) = [];
    1617 
    1718for j=1:numel(commands)
    1819  a = feval(commands{j});
    1920  [m,k,c] = getsize(a);
    20   fprintf('%6i %4i %4i %15s %s\n',m,k,c,commands{j},getname(a));
     21  fprintf('%c%-14s %6i %6i %4i  %s\n','%',commands{j},m,k,c,getname(a));
    2122end
    2223
Note: See TracChangeset for help on using the changeset viewer.