[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: error message...can't run file...
From: |
Mike Miller |
Subject: |
Re: error message...can't run file... |
Date: |
Mon, 24 Feb 2014 10:33:02 -0500 |
On Fri, Feb 21, 2014 at 00:23:26 -0800, mariusz__vip wrote:
> Hi,
> Few months ago I worked for Octave script which basically thing was read wav
> file. Now I need to execute this script again and I get error message like
> this:
>
> [error copied from screenshot]
> error: wavread: No such file or directory
> error: called from:
> error: C:\Software\Octave-3.6.4\share\octave\3.6.4\m\audio\wavread.m at
> line 64, column 7
> error: C:\Octave\Programy\focus.m at line 3, column 10
Your script and audio file work for me. The error indicates that the
wavread function was unable to open audio.wav, are you perhaps running
Octave in the wrong directory? The focus.m script refers to the file
as "./audio.wav" which means it must be in the current directory. Make
sure you are in the directory that contains audio.wav. Alternatively,
if you take off the "./" the file will be found as long as it's in a
directory in Octave's load path.
HTH,
--
mike