help-octave
[Top][All Lists]
Advanced

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

Re: Including user-defined Functs to Octave


From: Torsten
Subject: Re: Including user-defined Functs to Octave
Date: Wed, 06 Feb 2013 06:26:33 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130106 Thunderbird/17.0.2

On 06.02.2013 05:38, marciobarbalho wrote:
> Hi all
> 
> Does anyone know how to set a user-defined function to be called from
> octave? Something equivalent to adding it to Octave's native
> libraries? So I don't have to keep on copying and pasting it wherever
> it is needed?
> 
> Many thanks
> 
> Márcio

You can use addpath() to add the directory where your functions are
located to the search path of octave. When you insert this command into
your .octaverc file in your home directory it is executed automatically
on start-up.

Torsten


reply via email to

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