| Parallel Computing Toolbox™ | ![]() |
Directory where FileDependencies are written on worker machine
depdir = getFileDependencyDir
depdir | String indicating directory where FileDependencies are placed. |
depdir = getFileDependencyDir returns a string, which is the path to the local directory into which FileDependencies are written. This function will return an empty array if it is not called on a MATLAB® worker.
Find the current directory for FileDependencies.
ddir = getFileDependencyDir;
Change to that directory to invoke an executable.
cdir = cd(ddir);
Invoke the executable.
[OK, output] = system('myexecutable');
Change back to the original directory.
cd(cdir);
getCurrentJob, getCurrentJobmanager, getCurrentTask, getCurrentWorker
![]() | getDebugLog | globalIndices | ![]() |
| © 1984-2008- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |