Errors with "Denoise Speech Using Deep Learning Networks" Example
Show older comments
I was trying out the Denoise Speech Using Deep Learning Networks example without any modifications and I'm getting the following error:
Error using tall/gather (line 50)
An undefined function error was thrown on the workers for
'HelperGenerateSpeechDenoisingFeatures'. The file containing
'HelperGenerateSpeechDenoisingFeatures' might not be available on the workers. Specify the
required files for this parallel pool using the command: addAttachedFiles(pool, ...). See the
documentation for parpool for more details.
Learn more about errors encountered during GATHER.
Error in DenoisingNN (line 240)
[targets,predictors] = gather(targets,predictors);
Caused by:
Error using tall/cellfun (line 19)
Undefined function 'HelperGenerateSpeechDenoisingFeatures' for input arguments of type
'dsp.SampleRateConverter'.
I've ran this code sucessfully before but now I get this error everytime I run it. I've been looking at the referenced documentation but I was wondering if there's an easier way to fix this error? Thank you in advance.
1 Comment
Sherly Arunodhayamary
on 9 Oct 2019
Got the same error. Any idea to solve it.
Answers (4)
Sherly Arunodhayamary
on 10 Oct 2019
0 votes
This is because you are missing the matlab files in the current folder. 'HelperGenerateSpeechDenoisingFeatures' file need to placed in your working folder or your program have to be saved in the main matlab folder containing examples for denoising.
9 Comments
zhang he
on 24 Dec 2019
Hello buddy, I don't quite understand what you mean. Where can I find the "HelperGenerateSpeechDenoisingFeatures" file?? and isn`t this a function? thax
zhang he
on 24 Dec 2019
solved
Sherly Arunodhayamary
on 1 Jan 2020
ok
shaimaa elsayed
on 2 Mar 2020
can you tell us how did you solve it?
thanks
Sherly Arunodhayamary
on 4 Mar 2020
Just go through the call function in your program and check for all the files present in the call function. you might be missing some required files on your program folder. update and relax. u will get it.
atul kumar
on 18 Sep 2020
zhang he how did you solve it please tell .
atul kumar
on 18 Sep 2020
please tell i am facing the same problem
Habib Sherkat
on 30 Sep 2020
Edited: Habib Sherkat
on 30 Sep 2020
add the folder of "DenoiseSpeechUsingDeepLearningNetworksExample" as a working directory.
The program is missing a function named:HelperGenerateSpeechDenoisingFeatures
Hoang Thanh
on 11 Oct 2021

open the example in matlab and slove it.
HONG CHENG
on 18 Apr 2023
0 votes
I read the commets and find that one solution is “Just go through the call function in your program and check for all the files present in the call function. you might be missing some required files on your program folder. update and relax. u will get it. ”
So I tried that add the HelperGenerateSpeechDenoisingFeatures and the folder of it to the path, but it didn't work. Is there any idea?
amina
on 28 Nov 2023
0 votes
Bonjour tout le monde,
comment vous avez pu regler se probleme svp. Error using tall/gather (line 50)
Unable to access intermediate data in the temporary folder, most likely because it ran out of space.
Clear space on the local drive, or avoid operations that reorder tall arrays (such as SORT or indexing
with a tall numeric column vector).
Learn more about errors encountered during GATHER.
Error in projet (line 124)
[targets,predictors] = gather(targets,predictors);
Caused by:
Error in adding keys and values.
Error during serialization
>>
1 Comment
MUHAIMINUR
on 30 Jun 2025
It giving me out of storage issue and crush why?
yanzhang Geng
on 25 Mar 2024
I faced the same problem and solved now. Share my experence to all
add the command:
addpath('X:\USERNAME\Documents\MATLAB\Examples\R2023a(or your Matlab virsion)\deeplearning_shared\DenoiseSpeechUsingDeepLearningNetworksExample');
then the key function
HelperGenerateSpeechDenoisingFeatures
will be find by the program
1 Comment
MUHAIMINUR
on 30 Jun 2025
While I Run the code my code is giving that out of memory problem
Categories
Find more on AI for Signals in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!