Info
이 질문은 마감되었습니다. 편집하거나 답변을 올리려면 질문을 다시 여십시오.
How can I customize the instances of matlab launched via matlabpool?
조회 수: 1 (최근 30일)
이전 댓글 표시
For example can I choose the directories to add to the matlab path?
I am trying to use matlabpool on a local configuration.
My standard matlab set up is defined via a startup.m file. This file adds several folders to the matlab path.
Adding folders to each instance of matlab via matlabpool slows down the initialization.
I only need a subset of these folders to be added when I start matlabpool. This woudl speed up the initialization.
Can I set up a different startup file for matlabpool?
댓글 수: 0
답변 (1개)
Edric Ellis
2012년 9월 17일
When you run an interactive MATLABPOOL session, we always try to synchronize the path on the workers to make sure all your code is available there. Unfortunately, there's no way to disable this. If you run a non-interactive batch job, then you can control the paths on the workers by specifying a value for the AdditionalPaths.
댓글 수: 0
이 질문은 마감되었습니다.
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!