help-octave
[Top][All Lists]
Advanced

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

Re: calling fft


From: Maynard Wright
Subject: Re: calling fft
Date: Mon, 9 Jul 2007 16:13:48 -0700
User-agent: KMail/1.9.1

I've found that if I move a script file into ~/bin and execute it from there, 
Octave finds fft.  The trouble noted below occurs when I execute the code 
from another folder that is in my path.  Although the other warnings and 
error messages are still displayed, the code works properly.

Maynard
 
-----------------------------------------------------------

On Monday 02 July 2007 07:08, Maynard Wright wrote:
> I'm running Octave 2.1.72 under Kunbuntu Dapper 6.06 LTS.  I downloaded and
> installed Octave from the Kubuntu repositories using Adept.   I have some
> code that ran correctly under 2.1.36 and under another installation of
> 2.1.72.  When I execute the program using this installation, I get:
>
> warning: in fopen near line 55, column 3:
> warning: fopen: default open mode is now binary
> sh: kpsexpand: command not found
> sh: kpsexpand: command not found
> error: dispatch: the symbol 'fft' is not valid as a function
>
> The offending line is:
>
> s_mod = fft(v_mod);
>
> An assignment statement that uses s_mod in the following line fails and
> terminates execution.
>
> A little experimentation seems to indicate that Octave can find internal
> functions but not loadable functions.
>
>
> Any thoughts?
>
> Thanks,
>
> Maynard


reply via email to

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