| Contents | Index |
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);
FileDependencies | getCurrentJob | getCurrentJobmanager | getCurrentTask | getCurrentWorker

See how to solve large problems with minimal effort and reduce simulation time.
Get free kit| © 1984-2012- The MathWorks, Inc. - Site Help - Patents - Trademarks - Privacy Policy - Preventing Piracy - RSS |