From help-octave-request at bevo dot che dot wisc dot edu Fri Mar 5 02:44:45 2004 Subject: Re: Amature Level Help From: Christoph Dalitz To: Saba Karim Shah Cc: help-octave at bevo dot che dot wisc dot edu Date: Fri, 5 Mar 2004 09:31:26 +0100 On Thu, 4 Mar 2004 20:51:19 -0800 (PST) Saba Karim Shah wrote: > > I am a beginner with zero knowledge of Octave. Can > someone tell me what is the command to run a .m file > in Octave. > > I have downloaded and installed Octave 2.1.50 for > Windows. > > What I am able to figure out is >>octave filename.m > The section "Funtions and Script Files" in the manual mentions two possibilities: a) Call the script file *without* the .m extension This might cause problem when the first comamnd in the file is "function" b) source('filename.m') Christoph ------------------------------------------------------------- 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 -------------------------------------------------------------