Mercurial > hg > do-we-sing-like-we-speak
view validate.m @ 3:475bddaf580c tip
Add report and Presentation
author | Dave Moffat <d.j.moffat@qmul.ac.uk> |
---|---|
date | Wed, 25 Feb 2015 16:07:05 +0000 |
parents | 26494c0d9ffd |
children |
line wrap: on
line source
function boolVar = validate(list) boolVar = 1; for i = list fileDir = ['T',num2str(i)]; if(~exist([fileDir,'/01.csv'],'file') || ~exist([fileDir,'/01.wav'],'file')) boolVar = 0; warning(['file missing in folder T',num2str(i)]); break end end end