code not working in MATLAB 2020b

14 visualizzazioni (ultimi 30 giorni)
EHIJAS KV
EHIJAS KV il 10 Nov 2022
Commentato: EHIJAS KV il 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");

Risposta accettata

Walter Roberson
Walter Roberson il 11 Nov 2022
You appear to be using an older version of MATLAB. Use
downloadFolder = matlab.internal.examples.downloadSupportFile('audio','SpeechEmotionRecognition.zip');

Più risposte (1)

Brian Hemmat
Brian Hemmat il 10 Nov 2022
I can't reproduce this from my end (the download works fine).
Can you print the results of ver?
  3 Commenti
Image Analyst
Image Analyst il 11 Nov 2022
@EHIJAS KV did you see where @Brian Hemmat said "Can you print the results of ver?"
Why did you not answer him? (Delete your liciense number when you paste it here)
EHIJAS KV
EHIJAS KV il 11 Nov 2022
thanks for your response now issue solved

Accedi per commentare.

Community Treasure Hunt

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

Start Hunting!

Translated by