1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
|
function tsgListGridsByName()
%
% tsgListGridsByName()
%
% prints a list of all grids in the WorkFiles folder regardless if they are
% associated with lGrid class
%
[sFiles, sTasGrid] = tsgGetPaths();
lFileList = dir(sFiles);
lGridIndexes = [];
for iI = 1:length(lFileList)
if (~isempty(findstr('_FileG', lFileList(iI).name)))
lGridIndexes = [lGridIndexes, iI];
end
end
disp([' Grids in the work folder:']);
disp([' ']);
for iI = 1:length(lGridIndexes)
line = lFileList(lGridIndexes(iI)).name;
disp(line(1:end-6));
end
disp([' ']);
end
|