[Mma] someone asked me how to create a file and run it
Maciej Bilicki
bilicki at astri.uni.torun.pl
Tue Apr 8 14:05:26 CEST 2003
On Tue, 1 Apr 2003, Boud Roukema wrote:
> # create a file, in some directory e.g.
> #
> # /home2/<myname>/octave/eg_octave.m
> #
> #
> # in octave, type
> #
> # LOADPATH
> #
> # to see the "path" for "loading" files. This is a useful linux/unix concept.
> # Then add your path to the beginning or end of the path.
> #
> # LOADPATH='/home2/<myname>/octave/:'
> #
> # type
> # LOADPATH
> # to check the new value
> #
> # WARNING: Do not forget the ":" or you may lose access to libraries!!
> #
> # HINT: You might want to add LOADPATH='/home2/<myname>/octave/:'
> # to your file ~/.octaverc so that it is read automatically when you
> # start octave.
OK, and then how do you RUN the file?
MB
More information about the Mma
mailing list