How to read wav files from a path and label stored in tex file in matlab?
1 次查看(过去 30 天)
显示 更早的评论
I have a tex file with three labels one is path name of wav files (string) in computer,second is label or code (numeric) and third is again a string. I want to read these wave files stored in that perticular locations and segregate them as per the given second and third label in tex file. In short i want to use all the data in tex file.
I have saved all the three information contents in a cell from this tex file. Now i m stuck ,how to extract those wav files from the location?
1 个评论
GreyHunter
2020-10-10
You can use dir function or you can use a string to store the location.
fileName= dir();
or
Directory = "/Users/xxxxx";
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Audio and Video Data 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!