From: Li on 29 May 2010 12:21 Thank you for the alternative way of doing this. Li "David Young" <d.s.young.notthisbit(a)sussex.ac.uk> wrote in message <htrdcp$6mu$1(a)fred.mathworks.com>... > 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.
|
Pages: 1 Prev: how to write matrix Z Next: Index matrix to sparse matrix... saving memory |