[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to open script in Octave
From: |
Sergei Steshenko |
Subject: |
Re: How to open script in Octave |
Date: |
Sun, 6 Apr 2014 08:54:51 -0700 (PDT) |
----- Original Message -----
> From: Alexandra Sachkova <address@hidden>
> To: address@hidden
> Cc:
> Sent: Sunday, April 6, 2014 11:04 AM
> Subject: How to open script in Octave
>
> Hi! I have a problem.
> I have to open script in Octave. I have read intstructions and I type the
> name of the script in the command like this:
> octave-3.2.4.exe:1> XRF_Maps
> XRF_Maps.m is a name of a script. Is it in the write directionary?
> but it can`t open it. The program writes, that
> error: "XRF_Maps" undefined near line 1 column 1
> What could be a problem?
>
For starters try from Octave
source("/full/path/to/XRF_Maps.m");
, i.e. use 'source' command and provide in it full path to the file to be
source'd.
Try 'help source' from Octave to read on the command.
Regards,
Sergei.