code not working in MATLAB 2020b

13 ビュー (過去 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 Center および File ExchangeSpeech Recognition についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by