help-octave
[Top][All Lists]
Advanced

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

Re: question on runing octave script that uses function files in linux m


From: c.
Subject: Re: question on runing octave script that uses function files in linux machine
Date: Fri, 20 Jun 2014 10:50:51 +0200

On 19 Jun 2014, at 20:08, Rui Miguel Soares Pereira <address@hidden> wrote:

> Dear all,
> 
> I am just starting to migrate from Matlab in a PC to Octave in a Computer 
> cluster.
> I wrote a script say called script.m that invokes functions a1 and a2 that are
> written in in separate files a1.m and a2.m.
> 
> If I want to run script in this computer cluster that has Linux, what is the 
> command or
> set of commands I have to type such that script runs and calls functions a1 
> and a2 correctly?

it is exactly the same you would do to run
the same script in matlab:

to start Octave, you just type "octave".
then, assuming your script is named "myscript.m",
just type "myscript" (i.e. the name of the script file 
without the ".m" extension) at the Octave prompt.

> Thank you for helping me,
> Rui

HTH,
c.


reply via email to

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