[Top][All Lists]

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

Re: HI new guy trying to load matlab files

From: malik martin
Subject: Re: HI new guy trying to load matlab files
Date: Mon, 12 Mar 2007 00:21:42 -0400

i have an audio folder but it wasnt present in octave-forge wich i
think i installed.....
i put it in audio in my octave/something/share folder :)

seems to be working now.
thanks a lot for your help :)

On 3/11/07, Henry F. Mollet <address@hidden> wrote:
I saw later replies saying to put 'waveread.m' anywhere in your path which
you've attempted to do. However, Octave still cannot find it so it is still
not in your path. How about putting 'waveread.m' in the same directory where
your "figure1_02.m" is located for a start? Or put both files in your
present working directory.

If you install all of octave-forge, then 'waveread.m' will be located in
and with the path correctly established, Octave will find it when called by
your "figure1_02.m" (wherever that might be located and indeed found by
Octave on your machine but then it cannot find 'waveread.m'.

on 3/10/07 8:30 PM, malik martin at address@hidden wrote:

> somene send me the wavread and wavwrite files where do i put them?
> after trying help, Henry, this is what i got:
> help: sorry, `wavread' is not documented
> Additional help for built-in functions, operators, and variables
> is available in the on-line version of the manual.  Use the command
> `help -i <topic>' to search the manual index.
> Help and information about Octave is also available on the WWW
> at and via the address@hidden
> mailing list.
> octave:2>
> On 3/10/07, Henry F. Mollet <address@hidden> wrote:
>> Waveread is available. See below.
>> Henry
>> [~] -bash-2.05b 501$ octave
>> GNU Octave, version 2.1.71 (powerpc-apple-darwin8.1.0).
>> Copyright (C) 2005 John W. Eaton.
>> octave:1> help wavread
>> wavread is the user-defined function from the file
>> /usr/local/share/octave/2.1.71/site/m/octave-forge/audio/wavread.m
>> [snd, srate, nbits] = wavread(infile,[nframes])
>> Read .wav file into snd (size  (nchans,nsamples)).
>> srate = sampling rate in Hz.
>> nbits = bits per sample.
>> optional nframes = no. samples to read (all channels)
>>   (default = all samples in file).
>> Cut
>> octave:2>
>> on 3/9/07 8:54 PM, malik martin at address@hidden wrote:
>>> someone told me that waveread isnt available in octave and that i need
>>> to find an alternative.
>>> does anyone know what that alternative is?
>>> i'm searching the docs now.
>>> On 3/9/07, malik martin <address@hidden> wrote:
>>>> octave:8> figure1_02
>>>> error: `wavread' undefined near line 1 column 15
>>>> error: near line 1 of file
>>>> `/cygdrive/e/bookx/dafx/M_files_chap01/figure1_02.m'
>>>> octave:8>
>>>> On 3/9/07, Przemek Klosowski <address@hidden> wrote:
>>>>> the figure1_02.m file is probably a matlab code, and the 'load' command
>>>>> is designed to load a data file with numbers. You need to invoke your
>>>>> file as octave commands, by simply calling out its name:
>>>>>     octave> figure1_02
>>> _______________________________________________
>>> Help-octave mailing list
>>> address@hidden
> _______________________________________________
> Help-octave mailing list
> address@hidden

reply via email to

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