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일
audioexample.Datastore is from toolbox/audio/audiodemos/+audioexample/@Datastore
You might need to
import('audioexample.Datastore')

댓글 수: 3

thank you I was Solved this prolem .. I add audio toolbox so it work thank you
please tell me where we used import command
i am facing same error
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 Exchange에서 Deep 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