Changeset 142 for prdatasets/pr_showdsets.m
- Timestamp:
- 01/05/20 23:22:59 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
prdatasets/pr_showdsets.m
r139 r142 1 1 %PR_SHOWDSETS Show datasets and store results in DSET 2 2 3 forget = {'Contents','mfeat_all' };3 forget = {'Contents','mfeat_all','check_','pr_'}; 4 4 commands = struct2cell(dir('*.m')); 5 5 commands = commands(1,:); … … 10 10 commands{j} = commands{j}(1:end-2); 11 11 end 12 J = []; 12 13 for i=1:numel(forget) 13 J = strcmp(forget{i},commands); 14 commands(J) = []; 14 J = [J strmatch(forget{i},commands)]; 15 15 end 16 commands(J) = []; 16 17 17 18 for j=1:numel(commands) 18 19 a = feval(commands{j}); 19 20 [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)); 21 22 end 22 23
Note: See TracChangeset
for help on using the changeset viewer.