help-octave
[Top][All Lists]
Advanced

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

Re: load path


From: James Sherman Jr.
Subject: Re: load path
Date: Wed, 8 Aug 2007 12:38:49 -0400

To add a directory to the load path you can use the command, addpath.
You can simply do:
addpath("/home/luca/funzioni_octave/");

James Sherman

On 8/8/07, Luca Delucchi <address@hidden> wrote:
Hello this is my first thread...

I would load some function on octave, I use

octave:1> loadpath="/home/luca/funzioni_octave/"
loadpath = /home/luca/funzioni_octave/

but after when I ask the function

octave:2> perc(1,1)
error: `perc' undefined near line 2 column 1

the function is this

function perc(a,b)
a*100/b
endfunction

Thank's
Bye Luca
_______________________________________________
Help-octave mailing list
address@hidden
https://www.cae.wisc.edu/mailman/listinfo/help-octave


reply via email to

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