Created
April 29, 2015 23:57
-
-
Save tsalo/f82cee5df93e1bef50eb to your computer and use it in GitHub Desktop.
Check if all files in cell array exist.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function log = allFilesExist(cellArray) | |
log = all(cellfun(@(X) logical(exist(X, 'file')), cellArray)); | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment