How to read wav files from a path and label stored in tex file in matlab?

2 views (last 30 days)
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 Comment
GreyHunter
GreyHunter on 10 Oct 2020
You can use dir function or you can use a string to store the location.
fileName= dir();
or
Directory = "/Users/xxxxx";

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!