| 	
Prev: Serial SOF character Next: how to write matrix Z 	
		 From: David Young on 29 May 2010 11:55 I can think of two ways to approach this. One is to use the exist function to check if each file exists - the way you propose. The other way is to use the dir function to get a list of the files available, and then iterate through this list. The second way is particularly useful if the file names are not organised in a regular way; the first way might be simpler to use in your case. 	
		 From: Li  on 29 May 2010 12:18 That's awesome. Thank you so much. Doug Schwarz <see(a)sig.for.address.edu> wrote in message <see-8FC767.11533429052010(a)news.frontiernet.net>... > In article <htraqp$qe7$1(a)fred.mathworks.com>, > "Li " <liqingjiang(a)gmail.com> wrote: > > > Is there a Matlab function like > > 'isnan' to tell whether a file is available or not? > > exist(filename,'file') > > -- > Doug Schwarz > dmschwarz&ieee,org > Make obvious changes to get real email address. 
		  | 
 Pages: 1 Prev: Serial SOF character Next: how to write matrix Z |