From bug-octave-request at bevo dot che dot wisc dot edu Wed Jan 1 15:12:53 2003 Subject: Re: Bugs with strings, fread function From: Paul Kienzle To: "Dr. Julian A. de Marchi" Cc: James Frye , bug-octave@bevo.che.wisc.edu Date: Wed, 01 Jan 2003 16:12:32 -0500 I believe 2.1.37 added support for varargin and cell arrays in a compatible way. In older versions, you needed to do: function test(...), varargin=list(all_va_args); with varargin{i} replaced by: nth(varargin,i) and f(varargin{:}) replaced by: f(all_va_args). In other news, the current CVS and yet to be released 2.1.41 adds support for x(end) [loud cheers!] and local functions. Paul Kienzle pkienzle at users dot sf dot net Dr. Julian A. de Marchi wrote: >My naive guess is that perhaps the version of Octave you are using (and I myself) >eitehr does not support varargin, or, there is a compiler flag with which our >versions would need to be rebuilt to support the cell array functionality. > > > ------------------------------------------------------------- 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 -------------------------------------------------------------