getFileName
getSourceName method for the scchannel class
Examples
out=getFileName(obj);
out=getFileName(channels{:});
out=getFileName(channels{:}, mode);
out=getFileName(channels{:}, ext, mode);
Returns the names of the files from which the data are mapped
as a cell column of strings
If ext is specified as a string, only files with that extension will be
returned. Note that wildcards are not supported.
If mode is false or empty:
Where the file is not specified in scchannel object (because data are
in RAM), or does not match ext, the entry for that channel will be
returned as an empty string.
If mode is true:
Empty entries will be removed from the returned cell array
-------------------------------------------------------------------------
Author: Malcolm Lidierth 01/10
Copyright © The Author & King's College London 2010-
-------------------------------------------------------------------------