Compile Matlab such that all needed files are in one particular folder

Hi,
I'm compiling my scripts to a standalone application using mcc to run them on a cluster computer. The setting of that computer is such that the home directory is very slow and there is another fast directory lets call it /fast. I compile my jobs in /fast and want everything which is needed for the execution to be in fast. Such that the node only access fast. However it seems that e.g. the mcrcache remains in my home directory no matter what I do. I compile my code like that:
setenv('MCR_CACHE_ROOT','/fast');
mcc -W main -a /home/code -a princomp -T link:exe phypapar.m
So the code I want to compile is located in the slow part. But that shouldn't matter right?
Can anyone tell me how to compile my code such that all files which have to be red for the execution of the standalone application are located in /fast?
Thanks in advance-

Answers (0)

Categories

Find more on MATLAB Compiler in Help Center and File Exchange

Asked:

on 25 Jan 2012

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!