[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
## Re: Newbie question saving "worksheet"

**From**: |
A S Hodel |

**Subject**: |
Re: Newbie question saving "worksheet" |

**Date**: |
Sat, 28 Dec 2002 12:52:23 -0600 |

on extensions: it's similar to Matlab as follows:
MATLAB: text script (m-file) *.m
Octave: same

`MATLAB: compiled C code (or C++ or fortran): varies. On windows it's
``*.dll, on Unixen its *.mexSomethingOrOther
`Octave: *.oct

`For both of these, to execute a script or function, one types in its
``name at the Octave prompt:
`for example, Main.m is executed by typing in
octave 1> Main

`More complicated examples involving functions are also possible. Read
``the manual for more information.
`

`Maple is a symbolic computation tool. Octave is a numerical
``computation tool, so you should expect some differences in function and
``features.
`
On Saturday, December 28, 2002, at 11:53 AM, John B. Thoo wrote:

`Hi. First, many thanks to Bill L. and jwe for their help with solving
``lin sys and plotting yesterday; I feel I learnt a lot. (I have
``another plotting question, but I'll ask that later.) This morning,
``I'd like to ask about saving my work.
`

`For example, in Maple one can save a "worksheet" that can be opened
``later and executed. Is this possible in Octave? The manual speaks to
``saving and loading on pp. 113ff and I tried "save -ascii
``~/Desktop/test.oct", but the saved file doesn't appear to be what I
``want. (BTW, what filename extension should I use when saving an
``Octave file? As you can see, I used ".oct", but is there a more
``appropriate one?)
`

`My current workaround is to copy my commands from Octave into a text
``editor to save them and to copy from the text editor into Octave to
``reuse them, but is there a better way?
`
TIA.
---John.
-------------------------------------------------------------
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
-------------------------------------------------------------

`A. S. Hodel, Assoc. Prof, Dept. Elect & Comp Eng, Auburn University, AL
``36849-5201
``(334) 844-1854 200 Broun Hall address@hidden
``http://ww.eng.auburn.edu/~scotte
`
-------------------------------------------------------------
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
-------------------------------------------------------------