- #1

uart

Science Advisor

- 2,797

- 21

It's a very specific question, I have to find out how to allow included (library) functions to be able to access my user defined functions. When using the included numerical integration routines (say "quad.m" for example) they require a user function to be passed as a string. I can write the "m file" to define the user function and check that it works from the command line but I get an error any time that I try to pass this function to one of the integration routines like "quad". I'm sure there's a path or similar environment variable that I need to set, are there any octave users here that can give me a clue.

BTW, I'm running GNU octave 2.1.50 under Windows XP. I'm familiar with MATLAB and can easily make all this stuff work in matlab. It must be something simple to make it work in octave if I could just get started.