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"

Antworten (1)

Walter Roberson
Walter Roberson am 20 Jul. 2018
audioexample.Datastore is from toolbox/audio/audiodemos/+audioexample/@Datastore
You might need to
import('audioexample.Datastore')

3 Kommentare

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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Deep Learning Toolbox finden Sie in Hilfe-Center und File Exchange

Produkte

Version

R2018a

Gefragt:

am 20 Jul. 2018

Kommentiert:

am 28 Apr. 2019

Community Treasure Hunt

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

Start Hunting!

Translated by