How do I set file dependencies in my deployed code that uses Parallel Computing Toolbox 5.0 (R2010b) functions?
Show older comments
I am compiling my MATLAB code to be run on a cluster using MDCS, into a Java component. I included the following piece of code in my MATLAB program to add file dependencies to my job.
set(job1, 'FileDependencies',{'C:\MyDirectory\fileName.m'});
By giving this absolute path of the file as file dependency, the code runs fine with the correct outputs on MATLAB. However, when I try to run the deployed version of this code, the job does not run and the result vector is empty as if the job did not execute.
Accepted Answer
More Answers (0)
Categories
Find more on Job and Task Creation 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!