help-octave
[Top][All Lists]
Advanced

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

Re: Loading multiple files


From: sar7501-octave
Subject: Re: Loading multiple files
Date: Fri, 11 Mar 2005 18:12:46 +1100 (EST)

> Yes:
> 
>   for i = 1:10
>     load (sprintf ("file_%03d.txt", i));
>   endfor

Thanks for the help. Can something similar be used to increment variable names
without eval? I currently use something like: 

eval(['x',int2str(i),'=zeros(4,4)']);

Thanks,

Scott

Find local movie times and trailers on Yahoo! Movies.
http://au.movies.yahoo.com



-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web:  http://www.octave.org
How to fund new projects:  http://www.octave.org/funding.html
Subscription information:  http://www.octave.org/archive.html
-------------------------------------------------------------



reply via email to

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