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"

Answers (1)

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

3 Comments

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

Sign in to comment.

Categories

Find more on Deep Learning Toolbox in Help Center and File Exchange

Products

Release

R2018a

Asked:

on 20 Jul 2018

Commented:

on 28 Apr 2019

Community Treasure Hunt

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

Start Hunting!