help-octave
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: How do I just load (read) a file? (beginner's question)


From: Jeff Cunningham
Subject: RE: How do I just load (read) a file? (beginner's question)
Date: Mon, 13 Jun 2005 11:58:11 -0400

Are you trying to load a data file;
http://www.octave.org/doc/octave_17.html#IDX428

or run a script file;
http://www.octave.org/doc/octave_14.html#SEC104
?

-jeff


-----Original Message-----
From: David Collett [mailto:address@hidden
Sent: Monday, June 13, 2005 4:44 AM
To: address@hidden
Subject: How do I just load (read) a file? (beginner's question)


Hi. I just installed Octave (on Mac OS X 10.4.1).

I've started going through the manual and trying the various commands.

The manual says that instead of typing functions, loops, assignments,  
etc., we can instead type them first into a file, then just type the  
name of the file from the command line.

I tried type the name of my text file (named "logisticmap"), but I  
got this response:

      octave:1> logisticmap
      error: `logisticmap' undefined near line 1 column 1

What am I doing wrong? I have this file on my Desktop.
Do I have to put it somewhere else?
Does it have to have an extension at the end of the filename?

I've looked through the manual, but I can't find the answer.

Thanks to anyone  who can get this beginner started!

David



-------------------------------------------------------------
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
-------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]