code not working in MATLAB 2020b
4 次查看(过去 30 天)
显示 更早的评论
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 个评论
采纳的回答
Walter Roberson
2022-11-11
You appear to be using an older version of MATLAB. Use
downloadFolder = matlab.internal.examples.downloadSupportFile('audio','SpeechEmotionRecognition.zip');
0 个评论
更多回答(1 个)
Brian Hemmat
2022-11-10
I can't reproduce this from my end (the download works fine).
Can you print the results of ver?
3 个评论
Image Analyst
2022-11-11
Why did you not answer him? (Delete your liciense number when you paste it here)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Speech Recognition 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!