<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/173122</link>
    <title>MATLAB Central Newsreader - Path dependencies in Distributed matlab</title>
    <description>Feed for thread: Path dependencies in Distributed matlab</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Wed, 23 Jul 2008 18:17:25 -0400</pubDate>
      <title>Path dependencies in Distributed matlab</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/173122#444949</link>
      <author>Somesh</author>
      <description>Hi All,&lt;br&gt;
&lt;br&gt;
Has anybody used path dependencies in distributed matlab  ?&lt;br&gt;
Some how the following code doesn't seem to work:&lt;br&gt;
&lt;br&gt;
j = createJob(jm,'FileDependencies',{'mymfile.m',pwd},'PathDependencies',...&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;{'mytoolbox/'});&lt;br&gt;
&lt;br&gt;
Regards,&lt;br&gt;
SOmesh</description>
    </item>
    <item>
      <pubDate>Wed, 23 Jul 2008 19:00:22 -0400</pubDate>
      <title>Re: Path dependencies in Distributed matlab</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/173122#444962</link>
      <author>Jiro Doke</author>
      <description>SOMESH &amp;lt;seesomi@gmail.com&amp;gt; wrote in message&lt;br&gt;
&amp;lt;9010494.1216837076779.JavaMail.jakarta@nitrogen.mathforum.org&amp;gt;...&lt;br&gt;
&amp;gt; Hi All,&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Has anybody used path dependencies in distributed matlab  ?&lt;br&gt;
&amp;gt; Some how the following code doesn't seem to work:&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; j =&lt;br&gt;
createJob(jm,'FileDependencies',{'mymfile.m',pwd},'PathDependencies',...&lt;br&gt;
&amp;gt;     {'mytoolbox/'});&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Regards,&lt;br&gt;
&amp;gt; SOmesh&lt;br&gt;
&lt;br&gt;
Hi Somesh,&lt;br&gt;
&lt;br&gt;
Make sure the PathDependencies are absolute paths that each&lt;br&gt;
worker has access to. These are essentially paths that will&lt;br&gt;
get added to the path of each worker.&lt;br&gt;
&lt;br&gt;
If you are trying to make all the files within the local&lt;br&gt;
'mytoolbox' directory available to all the workers, then you&lt;br&gt;
should specify that as FileDependencies. These get zipped up&lt;br&gt;
and sent over the network to the workers.&lt;br&gt;
&lt;br&gt;
jiro</description>
    </item>
    <item>
      <pubDate>Wed, 23 Jul 2008 19:59:45 -0400</pubDate>
      <title>Re: Path dependencies in Distributed matlab</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/173122#444977</link>
      <author>Somesh</author>
      <description>Hi Jiro,&lt;br&gt;
Thanks for the help.&lt;br&gt;
&lt;br&gt;
Giving absolute path solved the problem. Thanks :-)&lt;br&gt;
&lt;br&gt;
Regards,&lt;br&gt;
SOmesh</description>
    </item>
  </channel>
</rss>

