From help-octave-request at bevo dot che dot wisc dot edu Wed Jan 30 10:35:51 2002 Subject: Re: plot to file from executable script -problem refined From: Rafael Laboissiere To: Pierre-Andre Cornillon Cc: Pieter Thysebaert , help-octave@bevo.che.wisc.edu Date: Wed, 30 Jan 2002 10:35:11 -0600 * Pierre-Andre Cornillon [2002-01-30 12:36]: > If you use eval it could be ok : > eval(['gset output',filename,';']) It is always good to test before posting. The correct command is : eval(['gset output "',filename,'";']) or eval(sprintf("gset output \"%s\", filename)) -- Rafael ------------------------------------------------------------- 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 -------------------------------------------------------------