Filter löschen
Filter löschen

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

1 Ansicht (letzte 30 Tage)
kc
kc am 16 Jan. 2020
Kommentiert: GreyHunter am 10 Okt. 2020
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 Kommentar
GreyHunter
GreyHunter am 10 Okt. 2020
You can use dir function or you can use a string to store the location.
fileName= dir();
or
Directory = "/Users/xxxxx";

Melden Sie sich an, um zu kommentieren.

Antworten (0)

Community Treasure Hunt

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

Start Hunting!

Translated by