<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Exposing your dependencies</title>
	<atom:link href="http://blogs.mathworks.com/desktop/2008/02/04/exposing-your-dependencies/feed/" rel="self" type="application/rss+xml" />
	<link>http://blogs.mathworks.com/desktop/2008/02/04/exposing-your-dependencies/</link>
	<description>Mike works on the MATLAB Desktop team</description>
	<lastBuildDate>Fri, 10 Feb 2012 06:24:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
	<item>
		<title>By: Mike</title>
		<link>http://blogs.mathworks.com/desktop/2008/02/04/exposing-your-dependencies/#comment-8039</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Wed, 31 Aug 2011 18:27:41 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/desktop/2008/02/04/exposing-your-dependencies/#comment-8039</guid>
		<description>@Orion,
 The known problems are version dependent. Please open a support request and an engineer will help us diagnose it and hopefully solve the issue.</description>
		<content:encoded><![CDATA[<p>@Orion,<br />
 The known problems are version dependent. Please open a support request and an engineer will help us diagnose it and hopefully solve the issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Orion Parrott</title>
		<link>http://blogs.mathworks.com/desktop/2008/02/04/exposing-your-dependencies/#comment-8033</link>
		<dc:creator>Orion Parrott</dc:creator>
		<pubDate>Tue, 30 Aug 2011 01:08:13 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/desktop/2008/02/04/exposing-your-dependencies/#comment-8033</guid>
		<description>Does this tool have any known problems?  I just tried it on a file that has many user defined children scripts and functions but nothing was returned.  The dependency report was empty.  I&#039;m on a RedHat linux variant (Caos) with full JVM/GUI running.  Thanks!</description>
		<content:encoded><![CDATA[<p>Does this tool have any known problems?  I just tried it on a file that has many user defined children scripts and functions but nothing was returned.  The dependency report was empty.  I&#8217;m on a RedHat linux variant (Caos) with full JVM/GUI running.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://blogs.mathworks.com/desktop/2008/02/04/exposing-your-dependencies/#comment-7521</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Thu, 06 Jan 2011 14:25:15 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/desktop/2008/02/04/exposing-your-dependencies/#comment-7521</guid>
		<description>@Jedediah,

 Cool! Thanks for sharing, I think many of my readers would find it useful.</description>
		<content:encoded><![CDATA[<p>@Jedediah,</p>
<p> Cool! Thanks for sharing, I think many of my readers would find it useful.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jedediah Frey</title>
		<link>http://blogs.mathworks.com/desktop/2008/02/04/exposing-your-dependencies/#comment-7520</link>
		<dc:creator>Jedediah Frey</dc:creator>
		<pubDate>Thu, 06 Jan 2011 07:03:49 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/desktop/2008/02/04/exposing-your-dependencies/#comment-7520</guid>
		<description>Rather than spend the 30 seconds to copy 4 files over and zip them and send them to someone I spent the last 8 insistent on getting this thing made once and for all. It&#039;s a function to &#039;package&#039; all dependencies of file up into zip file or into the current directory.

Click on my name, it should take you to the &lt;a href=&quot;https://github.com/jedediahfrey/Jedediah-Frey-s-MATLABCentral-Projects/tree/master/mpkg&quot; rel=&quot;nofollow&quot;&gt;github&lt;/a&gt; repository. The functions below are linked to their raw files (right click and save).

&lt;a href=&quot;https://github.com/jedediahfrey/Jedediah-Frey-s-MATLABCentral-Projects/raw/master/mpkg/mpkg.m&quot; rel=&quot;nofollow&quot;&gt;mpkg&lt;/a&gt; will &#039;package&#039; up an m-file and all dependencies into a folder or zip file.

&lt;a href=&quot;https://github.com/jedediahfrey/Jedediah-Frey-s-MATLABCentral-Projects/raw/master/mpkg/getExtDeps.m&quot; rel=&quot;nofollow&quot;&gt;getExtDeps&lt;/a&gt; will just return all of the external (non-matlab) dependencies.

It&#039;s been submitted to Matlab Central and is awaiting approval.

&lt;pre&gt;%MPKG - M-File Dependency Packager.
%   mpkg(m-file/directory,output zip name/folder)
%
%   mpkg will take all dependencies for a m-file or a folder of m-files and
%   package them into folder or a zip file.
%
%   Input - M-File or directory. Default is current working directory.
%   Output - Directory or Zip File. Default is current working directory.
%       If the output ends in .zip the zip file will be created. 
%       If the output directory does not already exist it will be created.
%
%   Example
%   mpkg % Equivalent to mpkg(pwd,pwd)
%   mpkg(pwd)
%   mpkg(pwd,&#039;output folder&#039;)
%   mpkg(pwd,&#039;../Deploy&#039;)
%   mpkg(pwd,&#039;Deploy.zip&#039;)
%   mpkg(&#039;sample.m&#039;,&#039;Deploy.zip&#039;)
%   mpkg(which(&#039;secret.m&#039;),pwd) % If you have a function already in your path that you wish to package into the current directory.&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Rather than spend the 30 seconds to copy 4 files over and zip them and send them to someone I spent the last 8 insistent on getting this thing made once and for all. It&#8217;s a function to &#8216;package&#8217; all dependencies of file up into zip file or into the current directory.</p>
<p>Click on my name, it should take you to the <a href="https://github.com/jedediahfrey/Jedediah-Frey-s-MATLABCentral-Projects/tree/master/mpkg" rel="nofollow">github</a> repository. The functions below are linked to their raw files (right click and save).</p>
<p><a href="https://github.com/jedediahfrey/Jedediah-Frey-s-MATLABCentral-Projects/raw/master/mpkg/mpkg.m" rel="nofollow">mpkg</a> will &#8216;package&#8217; up an m-file and all dependencies into a folder or zip file.</p>
<p><a href="https://github.com/jedediahfrey/Jedediah-Frey-s-MATLABCentral-Projects/raw/master/mpkg/getExtDeps.m" rel="nofollow">getExtDeps</a> will just return all of the external (non-matlab) dependencies.</p>
<p>It&#8217;s been submitted to Matlab Central and is awaiting approval.</p>
<pre>%MPKG - M-File Dependency Packager.
%   mpkg(m-file/directory,output zip name/folder)
%
%   mpkg will take all dependencies for a m-file or a folder of m-files and
%   package them into folder or a zip file.
%
%   Input - M-File or directory. Default is current working directory.
%   Output - Directory or Zip File. Default is current working directory.
%       If the output ends in .zip the zip file will be created.
%       If the output directory does not already exist it will be created.
%
%   Example
%   mpkg % Equivalent to mpkg(pwd,pwd)
%   mpkg(pwd)
%   mpkg(pwd,'output folder')
%   mpkg(pwd,'../Deploy')
%   mpkg(pwd,'Deploy.zip')
%   mpkg('sample.m','Deploy.zip')
%   mpkg(which('secret.m'),pwd) % If you have a function already in your path that you wish to package into the current directory.</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://blogs.mathworks.com/desktop/2008/02/04/exposing-your-dependencies/#comment-7366</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Mon, 04 Oct 2010 13:18:21 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/desktop/2008/02/04/exposing-your-dependencies/#comment-7366</guid>
		<description>@Tom,

 Thanks, your comments are duly noted.</description>
		<content:encoded><![CDATA[<p>@Tom,</p>
<p> Thanks, your comments are duly noted.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tom Clark</title>
		<link>http://blogs.mathworks.com/desktop/2008/02/04/exposing-your-dependencies/#comment-7361</link>
		<dc:creator>Tom Clark</dc:creator>
		<pubDate>Fri, 01 Oct 2010 13:50:34 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/desktop/2008/02/04/exposing-your-dependencies/#comment-7361</guid>
		<description>Sorry to bump an old post Mike, but just thought I&#039;d add my vote for a recursive search functionality (all m files in current and sub directories).

Most people I know don&#039;t just put all their m files in one directory - especially if they&#039;re putting toolboxes together.

I&#039;m included in that - my latest toolbox is very big, and to make it navigable it has about 10 directories at the top level (most of which have subdirectories).

When I release this thing, checking dependencies will be a nightmare! So *pretty please* for recursive dependency report next release :)

Tom</description>
		<content:encoded><![CDATA[<p>Sorry to bump an old post Mike, but just thought I&#8217;d add my vote for a recursive search functionality (all m files in current and sub directories).</p>
<p>Most people I know don&#8217;t just put all their m files in one directory &#8211; especially if they&#8217;re putting toolboxes together.</p>
<p>I&#8217;m included in that &#8211; my latest toolbox is very big, and to make it navigable it has about 10 directories at the top level (most of which have subdirectories).</p>
<p>When I release this thing, checking dependencies will be a nightmare! So *pretty please* for recursive dependency report next release :)</p>
<p>Tom</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://blogs.mathworks.com/desktop/2008/02/04/exposing-your-dependencies/#comment-4565</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Thu, 15 May 2008 18:44:06 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/desktop/2008/02/04/exposing-your-dependencies/#comment-4565</guid>
		<description>The Dependency Report just works on one directory at a time, i.e. no recursive searches.</description>
		<content:encoded><![CDATA[<p>The Dependency Report just works on one directory at a time, i.e. no recursive searches.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: David</title>
		<link>http://blogs.mathworks.com/desktop/2008/02/04/exposing-your-dependencies/#comment-4564</link>
		<dc:creator>David</dc:creator>
		<pubDate>Thu, 15 May 2008 17:50:34 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/desktop/2008/02/04/exposing-your-dependencies/#comment-4564</guid>
		<description>The Dependency Report I notice can be done en masse for all .m files in a directory -- can it be similarly done for all .m files in each sub-directory of my current directory, or do I have to traverse the directory tree by hand?</description>
		<content:encoded><![CDATA[<p>The Dependency Report I notice can be done en masse for all .m files in a directory &#8212; can it be similarly done for all .m files in each sub-directory of my current directory, or do I have to traverse the directory tree by hand?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mike</title>
		<link>http://blogs.mathworks.com/desktop/2008/02/04/exposing-your-dependencies/#comment-4153</link>
		<dc:creator>Mike</dc:creator>
		<pubDate>Thu, 17 Apr 2008 19:20:18 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/desktop/2008/02/04/exposing-your-dependencies/#comment-4153</guid>
		<description>Dirk,
 
  The Dependency Report has specifically narrow focus just to understand the interdependence of a directory as unit between its files and installed toolboxes. 

For a more in-depth view of a file, you&#039;ll have to use the &lt;a href=&quot;http://www.mathworks.com/access/helpdesk/help/techdoc/ref/depfun.html&quot; rel=&quot;nofollow&quot;&gt;&lt;tt&gt;depfun&lt;/tt&gt;&lt;/a&gt; function. This will do a recursive search on a M-file.</description>
		<content:encoded><![CDATA[<p>Dirk,</p>
<p>  The Dependency Report has specifically narrow focus just to understand the interdependence of a directory as unit between its files and installed toolboxes. </p>
<p>For a more in-depth view of a file, you&#8217;ll have to use the <a href="http://www.mathworks.com/access/helpdesk/help/techdoc/ref/depfun.html" rel="nofollow"><tt>depfun</tt></a> function. This will do a recursive search on a M-file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Dirk</title>
		<link>http://blogs.mathworks.com/desktop/2008/02/04/exposing-your-dependencies/#comment-4152</link>
		<dc:creator>Dirk</dc:creator>
		<pubDate>Thu, 17 Apr 2008 18:50:38 +0000</pubDate>
		<guid isPermaLink="false">http://blogs.mathworks.com/desktop/2008/02/04/exposing-your-dependencies/#comment-4152</guid>
		<description>Hello Ken,

Thanks a lot for the useful post.  Is there a way to find the dependencies of the dependencies?  For example, if your main file calls &quot;Hello.m&quot;, which calls &quot;World.m&quot;, it looks like the dependency report only lists &quot;Hello.m&quot; as a dependency.  Having a recursive dependency report would be quite useful.  Please let me know if there is some way to do this.

Thanks!
Dirk.</description>
		<content:encoded><![CDATA[<p>Hello Ken,</p>
<p>Thanks a lot for the useful post.  Is there a way to find the dependencies of the dependencies?  For example, if your main file calls &#8220;Hello.m&#8221;, which calls &#8220;World.m&#8221;, it looks like the dependency report only lists &#8220;Hello.m&#8221; as a dependency.  Having a recursive dependency report would be quite useful.  Please let me know if there is some way to do this.</p>
<p>Thanks!<br />
Dirk.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

