how to run DeepLearni​ngSpeechRe​cognitionE​xample exacly

Hello
please, i'm working with matlab 2018a a trial trial
I want to run the example 'nnet / DeepLearningSpeechRecognitionExample' in matlab but j to a problem during execution see photo
please How to solve this problem?
I have test this code for image(
ads=datastore(fullfile(matlabroot, 'toolbox', 'matlab'),...
'IncludeSubfolders', true,'FileExtensions', '.tif','Type', 'image')
) it's working but for audio not working
ads = audioexample.Datastore(datafolder, ...
'IncludeSubfolders',true, ...
'FileExtensions','.wav', ...
'LabelSource','foldernames', ...
'ReadMethod','File');
Undefined variable "audioexample" or class "audioexample.Datastore"

回答 (1 件)

Walter Roberson
Walter Roberson 2018 年 7 月 20 日

0 投票

audioexample.Datastore is from toolbox/audio/audiodemos/+audioexample/@Datastore
You might need to
import('audioexample.Datastore')

3 件のコメント

abdo wiss
abdo wiss 2018 年 7 月 22 日
thank you I was Solved this prolem .. I add audio toolbox so it work thank you
Abdul Qadir
Abdul Qadir 2019 年 4 月 28 日
please tell me where we used import command
i am facing same error
Walter Roberson
Walter Roberson 2019 年 4 月 28 日
Which version are you using? In newer MATLAB, the example has been revised and no longer uses that infrastructure. https://www.mathworks.com/help/deeplearning/examples/deep-learning-speech-recognition.html

サインインしてコメントする。

カテゴリ

ヘルプ センター および File ExchangeDeep Learning Toolbox についてさらに検索

製品

リリース

R2018a

質問済み:

2018 年 7 月 20 日

コメント済み:

2019 年 4 月 28 日

Community Treasure Hunt

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

Start Hunting!

Translated by