help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bulk File loading problem


From: Louis Ciotti
Subject: Re: Bulk File loading problem
Date: Tue, 4 Jan 2011 15:45:51 -0500

Sorry sent the original message before I was done typing.
 any ways I am loading a series of files like this:

for k = 1:MaxFiles
  for i = 1:4
        dataraw=dlmread(sprintf ("./Data/TestData_%d_N_2_%d.csv",k,i),",",2,0)
.
.
.
.
 endfor
endfor

It works fine, however occasionally there is a missing file, and the
.m file stops.  Is there a way I can prevent this other than making
sure that the file is not missing?

Thanks,

Lou

On Tue, Jan 4, 2011 at 3:42 PM, Louis Ciotti <address@hidden> wrote:
> I am loading a bunch of data files with the following:
>
> for k = 1:MaxFiles
>        for i = 1:4
>                dataraw=dlmread(sprintf 
> ("./Data/TestData_%d_N_2_%d.csv",k,i),",",2,0);
> .
> .
> .
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]