When I execute the following commands:
job = batch('myScript','CaptureDiary',true); waitForState(job) diary(job) destroy(job)
where 'myscript' is
for i = 1:10 disp('Hello!') pause(0.1) end
I receive the following warning messages
Warning: Unable to change to requested folder: /home/user/test. Current folder is: /gpfs/home/user. Reason: Cannot CD to /home/user/test (Name is nonexistent or not a directory). > In executeFunction at 26 In distcomp/private/dctEvaluateFunction>iEvaluateWithNoErrors at 23 In distcomp/private/dctEvaluateFunction at 7 In distcomp/private/dctEvaluateTask>iEvaluateTask/nEvaluateTask at 264 In distcomp/private/dctEvaluateTask>iEvaluateTask at 136 In distcomp/private/dctEvaluateTask at 60 In distcomp_evaluate_filetask>iDoTask at 97 In distcomp_evaluate_filetask at 39
Best Answer