code not working in MATLAB 2020b
13 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
EHIJAS KV
le 10 Nov 2022
Commenté : EHIJAS KV
le 11 Nov 2022
downloadFolder = matlab.internal.examples.downloadSupportFile("audio","SpeechEmotionRecognition.zip");
showing error:
Error using exist
The first input to exist must be a string scalar or character vector.
Error in matlab.internal.examples.downloadSupportFile (line 38)
if ~exist(localfile,'file')
Error in EmotionRec (line 39)
downloadFolder = matlab.internal.examples.downloadSupportFile("audio","SpeechEmotionRecognition.zip");
0 commentaires
Réponse acceptée
Walter Roberson
le 11 Nov 2022
You appear to be using an older version of MATLAB. Use
downloadFolder = matlab.internal.examples.downloadSupportFile('audio','SpeechEmotionRecognition.zip');
0 commentaires
Plus de réponses (1)
Brian Hemmat
le 10 Nov 2022
I can't reproduce this from my end (the download works fine).
Can you print the results of ver?
3 commentaires
Image Analyst
le 11 Nov 2022
Why did you not answer him? (Delete your liciense number when you paste it here)
Voir également
Catégories
En savoir plus sur Speech Recognition dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!