Why is startup.m interfering with validate 'local' cluster profile in the Parallel computing toolbox?

1 view (last 30 days)
Starting Matlab with my startup.m file (which just adds a path - see below) prevents the "Validate" of the 'local' cluster profile from successful completion ( fails the 2nd test (Job test(creatjob) - keeps the turning time wheel running .... in Parallel computing toolbox). Starting Matlab without startup file (e.g. rename) causes a complete successful validation of the 'local' cluster profile. Why are these two conflicting? Is there a way to open a local pool using a startup.m file?
Thanks.
% Add path to my default directories
MyMatFilesPath = 'C:\My Tech Staff\My mfiles';
addpath(genpath(MyMatFilesPath), '-end');
  1 Comment
Daniel Armyr
Daniel Armyr on 3 Feb 2016
Edited: Daniel Armyr on 3 Feb 2016
Which files exist in the path you add? Do any of them have the same name as some function that gets called when performing the validation?
Try to empty that folder (temporarily) to check if that works. Then start adding them in to see which file causes the problem.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!