Borrar filtros
Borrar filtros

using uigetfile to read the name of the file

2 visualizaciones (últimos 30 días)
Max
Max el 12 de Oct. de 2011
hello i have an avi file .. i need to read the file name of it by using any function
in simple i have the following codes . i need to plot the audio of the avi file ... i dont want to hard code the line 1 of the program ... is there any way to just read the file name with uiget file option
filename = 'match.avi';
hfmr = signalblks.MultimediaFileReader(filename, 'AudioOutputPort',true,'VideoOutputPort',false);
while ~isDone(hfmr)
audio = step(hfmr);
end
audio;

Respuesta aceptada

Image Analyst
Image Analyst el 12 de Oct. de 2011
Yes. There is. Try uigetfile(). Be sure to use both return arguments and combine them with fullfile().
  1 comentario
Max
Max el 13 de Oct. de 2011
thanx image analyst ...i tried and it worked

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by