Effacer les filtres
Effacer les filtres

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

1 vue (au cours des 30 derniers jours)
kc
kc le 16 Jan 2020
Commenté : GreyHunter le 10 Oct 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 commentaire
GreyHunter
GreyHunter le 10 Oct 2020
You can use dir function or you can use a string to store the location.
fileName= dir();
or
Directory = "/Users/xxxxx";

Connectez-vous pour commenter.

Réponses (0)

Community Treasure Hunt

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

Start Hunting!

Translated by