|
From: | John W. Eaton |
Subject: | [Octave-bug-tracker] [bug #31895] error: run: file must exist and be a valid Octave script file |
Date: | Mon, 20 Dec 2010 03:41:15 +0000 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.15) Gecko/20101028 Iceweasel/3.5.15 (like Firefox/3.5.15) |
Follow-up Comment #3, bug #31895 (project octave): Ben, does it work if you use source (mfile) instead of eval (mfile(1:end-2)) ? I changed the run function to use source instead of just evaluating the name of the script without the file extension: http://hg.savannah.gnu.org/hgweb/octave/rev/0754a4e271f4 I don't know whether that will solve the original problem, but it seems like the correct thing for run to do based on its docstring. _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?31895> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |