how to run DeepLearni​ngSpeechRe​cognitionE​xample exacly

1 view (last 30 days)
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"

Answers (1)

Walter Roberson
Walter Roberson on 20 Jul 2018
audioexample.Datastore is from toolbox/audio/audiodemos/+audioexample/@Datastore
You might need to
import('audioexample.Datastore')
  3 Comments
Abdul Qadir
Abdul Qadir on 28 Apr 2019
please tell me where we used import command
i am facing same error
Walter Roberson
Walter Roberson on 28 Apr 2019
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

Sign in to comment.

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!