How do I set file dependencies in my deployed code that uses Parallel Computing Toolbox 5.0 (R2010b) functions?
Ältere Kommentare anzeigen
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.
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Startup and Shutdown finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!