From help-octave-request at bevo dot che dot wisc dot edu Thu Jan 9 11:31:06 2003 Subject: Re: how to edit and run a file in octave From: "Mark P. Esplin" To: "Bian Runqiang" , Date: Thu, 9 Jan 2003 09:59:00 -0600 Maybe I don't understand the question, but assuming that you were just wanting to run a simple octave script. Prepared your script with any text editor. If the name is "hello.m". Start octave and type "hello". You can also run it from the command line with "octave hello.m", or on a unix system you put "#!/usr/bin/octave" on the first line of your script and make the script executable. I also have a question maybe someone can help we with. From the command line how do I run an octave script and then transfer control to the octave interper so I can interact with the results without exiting back to the command line when the script finishes? On Wednesday 08 January 2003 10:02 pm, Bian Runqiang wrote: > Hi there, > > I am trying to use Octave in my research on forest management and I > have downloaded a version of Octave (v 2.1.36). When I try to program > in Octave, I find I cannot access code file as in other languages. I > just wonder if it is because I download a proper software or it is the > way Octave system works. If you could give me some advice about it, I > would be very grateful. > > With best regards, > bian ------------------------------------------------------------- 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 -------------------------------------------------------------