function varargout = spm_list_files(varargin)
% Compiled routine that lists files and directories
% FORMAT [Files,Dirs] = spm_list_files(Dir,Filter)
% Dir    - directory to list
% Filter - e.g. '*.img'
% Files  - filenames
% Dirs   - directories
%_______________________________________________________________________
%
% See also: spm_get.m
%_______________________________________________________________________
% @(#)spm_list_files.m	2.1 John Ashburner 99/04/19

%-This is merely the help file for the compiled routine
error('spm_list_files.c not compiled - see spm_MAKE.sh')
