tall/gather issue
    6 views (last 30 days)
  
       Show older comments
    
Hi everyone,
I have issue while using tall/gather function running in parallel pool in matlab, the error as below
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 XX (line 134)
[targets,predictors] = gather(targets,predictors);
Caused by:
    Error using tall/cellfun (line 19)
    Undefined function 'HelperGenerateSpeechDenoisingFeatures' for input arguments of type 'dsp.SampleRateConverter'.
how can I fix this issue please. 
thanks 
0 Comments
Answers (1)
  Edric Ellis
    
      
 on 4 Dec 2019
        This error means that the workers on your remote cluster cannot find code that they need to execute your tall array algorithm. You should try the suggestion from the error message, and do:
addAttachedFiles(gcp(), 'HelperGenerateSpeechDenoisingFeatures')
0 Comments
See Also
Categories
				Find more on Matrix Indexing in Help Center and File Exchange
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
