code not working in MATLAB 2020b

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");

 Respuesta aceptada

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

Más respuestas (1)

Brian Hemmat
Brian Hemmat el 10 de Nov. de 2022

0 votos

I can't reproduce this from my end (the download works fine).
Can you print the results of ver?

3 comentarios

EHIJAS KV
EHIJAS KV el 11 de Nov. de 2022
kindly check the link mentioned below, the code of emotion recognition given in mathwork.
the code line: downloadFolder = matlab.internal.examples.downloadSupportFile("audio","SpeechEmotionRecognition.zip"); is not working and the error shown earlier
Image Analyst
Image Analyst el 11 de Nov. de 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 el 11 de Nov. de 2022
thanks for your response now issue solved

Iniciar sesión para comentar.

Categorías

Más información sobre Deep Learning Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 10 de Nov. de 2022

Comentada:

el 11 de Nov. de 2022

Community Treasure Hunt

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

Start Hunting!

Translated by