[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Wavread not working with string
From: |
Shai Ayal |
Subject: |
Re: Wavread not working with string |
Date: |
Thu, 26 Jan 2006 16:19:55 +0200 |
User-agent: |
Thunderbird 1.5 (X11/20051025) |
I assume you are using cygwin. If so, try
file = strcat('/cygdrive/c/Programa Files/Octave/',x,'.wav');
Shai
Cesar A. Rodríguez Suarez wrote:
Hi all.
I need to send a string to wavread function, but it's not working.
error : NO such File or directory
while feof(fid) == 0
try
x=fgets(fid);
% x is a get number from a .txt file
file = strcat('C:/Programa Files/Octave/',x,'.wav');
catch
break;
end_try_catch
[s, fs] = wavread(file);
endwhile
Cordialmente,
César A. Rodríguez Suárez
CI Maintenance Project
Aranda Software Corporation.
Carrera 11 No. 93-53 Of. 403
Teléfono: 635-0723
La información transmitida a través de éste correo electrónico es
confidencial y está dirigida únicamente a su destinatario. Su
reproducción, lectura o uso está prohibido a cualquier persona o entidad
diferente. Aranda Software Corporation no se hace responsable por la
eventual transmisión de virus o programas dañinos por éste conducto, y
por lo tanto es responsabilidad del destinatario confirmar la existencia
de éste tipo de elementos al momento de recibirlo y abrirlo. Aranda
Software Corporation no acepta responsabilidad alguna por eventuales
daños o alteraciones derivados de la recepción o uso del presente
mensaje. Las opiniones, conclusiones y otra información contenida en
éste correo no relacionadas con el negocio oficial de Aranda Software
Corporation, deben entenderse como personales y de ninguna manera son
avaladas por la Compañía.
-
-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.
Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------