using uigetfile to read the name of the file
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
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;
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 12 Okt. 2011
Yes. There is. Try uigetfile(). Be sure to use both return arguments and combine them with fullfile().
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Audio and Video Data finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!