From help-request at octave dot org Fri Mar 11 01:06:25 2005 Subject: Re: Loading multiple files From: To: help at octave dot org 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 -------------------------------------------------------------