How do I set file dependencies in my deployed code that uses Parallel Computing Toolbox 5.0 (R2010b) functions?
古いコメントを表示
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.
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Startup and Shutdown についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!