code not working in MATLAB 2020b

조회 수: 4 (최근 30일)
EHIJAS KV
EHIJAS KV 2022년 11월 10일
댓글: EHIJAS KV 2022년 11월 11일
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");

채택된 답변

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

추가 답변 (1개)

Brian Hemmat
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
Image Analyst 2022년 11월 11일
@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 2022년 11월 11일
thanks for your response now issue solved

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Speech Recognition에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by