filevector.m in pca_ann.rar
Sponsored links
function vector = filevector(folder_name)
%------------------------------------------------------------
% vector = filevector(folder_name)
%
%
% Creates a cell array with the names of all files in folder_name
% and its subfolders!
% ->folder_name = the name of the folder.
% If no argument then folder is the current directory (pwd).
%
% Algorithm:
% Rather complicated but it works. ATTENTION: the path where
% filevector.m lies, must be added using addpath() command first!
%
% ------------------/* Avraam Kasapis 2003*\------------------
current_folder=pwd;
if nargin==0
folder_name = pwd;
else
cd(folder_name);
end
filestruct=d
...
...
... to be continued.
This is a preview. To get the complete source file,
please click here to download the whole source code package.