I am creating tasks that require the accessing of many MATLAB files on my shared file system. For this reason, I have created a taskStartup.m file that contains several ADDPATH commands to add the directories containing my MATLAB files to the workers' paths every time a task is run. However, my submitted jobs fail. Upon checking the task error:
task.ErrorIdentifiertask.ErrorMessage
I receive the following:
ans = MATLAB:fileio:cantOpenFileNoPermission ans = \\servername\files\file1.m: Cannot open file: permission denied.
Best Answer