Rev | Line | |
---|
[139] | 1 | %PR_SHOWDSETS Show datasets and store results in DSET
|
---|
| 2 |
|
---|
| 3 | forget = {'Contents','mfeat_all'};
|
---|
| 4 | commands = struct2cell(dir('*.m'));
|
---|
| 5 | commands = commands(1,:);
|
---|
| 6 | L = strmatch('pr_',commands);
|
---|
| 7 | commands(L) = [];
|
---|
| 8 |
|
---|
| 9 | for j=1:numel(commands)
|
---|
| 10 | commands{j} = commands{j}(1:end-2);
|
---|
| 11 | end
|
---|
| 12 | for i=1:numel(forget)
|
---|
| 13 | J = strcmp(forget{i},commands);
|
---|
| 14 | commands(J) = [];
|
---|
| 15 | end
|
---|
| 16 |
|
---|
| 17 | for 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));
|
---|
| 21 | end
|
---|
| 22 |
|
---|
Note: See
TracBrowser
for help on using the repository browser.