Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Creating and Running Jobs with a Local Scheduler
Date: Thu, 9 Oct 2008 13:53:21 +0000 (UTC)
Organization: RMIT
Lines: 22
Message-ID: <gcl2cg$nh$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1223560401 753 172.30.248.37 (9 Oct 2008 13:53:21 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 9 Oct 2008 13:53:21 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1372013
Xref: news.mathworks.com comp.soft-sys.matlab:494328


I am in the process of setting up my machine to eventually submit jobs to a cluster through MATLABs Parallel Computing toolbox. 

At the first stage, just to familiarize myself to the process, I have attempted to run a job on my local machine through the local scheduler.

A tutorial is set-up to produce five tasks, where each job generates a 3-by-3 matrix of random numbers.
==========================================================
sched = findResource('scheduler','type','local');
obj = createJob();
createTask(obj, @rand, 1, {{3,3} {3,3} {3,3} {3,3} {3,3}});
get(obj,'Tasks')
submit(obj);
waitForState(obj)
out = getAllOutputArguments(obj);
==========================================================
Unfortunately, the simulation continues to display a 'failed' state run, when checking the status though: 
get(obj,'Tasks')
As a result, the final solution through the out = getAllOutputArguments(obj); displays an "Empty cell array: 5-by-0"

Can you please suggest what is missing in my code.
Many thanks