[Top][All Lists]

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

executing user defined functions

From: Joshua Rajan
Subject: executing user defined functions
Date: Thu, 9 Sep 2010 10:59:25 -0400


I'm new to octave and was am unable to execute functions I write and save in a separate folder. I have:

1. Written functions as per syntax in a txt doc and saved it with a .m extension. The name of the file is the same as the name of the function.
2. Saved these functions in a folder C:\Octave\NAME
3. Added this path using addpath("C:\\Octave\\NAME")

But when I use the function name in the Octave command line, I get a "undefined near ..." error.

How do I resolve this? Am I missing some step?



reply via email to

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