<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/262920</link>
    <title>MATLAB Central Newsreader - Call self-made functions without m-File in current directory</title>
    <description>Feed for thread: Call self-made functions without m-File in current directory</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>Mon, 12 Oct 2009 14:10:22 -0400</pubDate>
      <title>Call self-made functions without m-File in current directory</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/262920#686465</link>
      <author>Jonas Baumann</author>
      <description>Over time I accumulated a few very simple tough (for me) very useful) functions that I reuse often during all kinds of tasks.&lt;br&gt;
&lt;br&gt;
Up to now I simply drag &amp; drop the required m-File into my current directory.&lt;br&gt;
Is there a way to include my &quot;collection&quot; to call them directly without copying files or entering directory paths? Kind of including them into my own customized functions database.&lt;br&gt;
&lt;br&gt;
Thanks for the advice</description>
    </item>
    <item>
      <pubDate>Mon, 12 Oct 2009 14:56:05 -0400</pubDate>
      <title>Re: Call self-made functions without m-File in current directory</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/262920#686477</link>
      <author>Sven </author>
      <description>Hi Jonas,&lt;br&gt;
Yes.&lt;br&gt;
&lt;br&gt;
If you store your set of functions in a given directory, say &quot;C:/myfunctions/&quot;, you can then do the following:&lt;br&gt;
addpath('C:/myfunctions/')&lt;br&gt;
&lt;br&gt;
This will add your functions so that they are always available. I have the same setup, and I put the addpath() call into my startup script, so that my functions are always available.&lt;br&gt;
&lt;br&gt;
Thanks,&lt;br&gt;
Sven.&lt;br&gt;
&lt;br&gt;
&quot;Jonas Baumann&quot; &amp;lt;baumann.jonas@gmail.com&amp;gt; wrote in message &amp;lt;havdcd$kri$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Over time I accumulated a few very simple tough (for me) very useful) functions that I reuse often during all kinds of tasks.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Up to now I simply drag &amp; drop the required m-File into my current directory.&lt;br&gt;
&amp;gt; Is there a way to include my &quot;collection&quot; to call them directly without copying files or entering directory paths? Kind of including them into my own customized functions database.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks for the advice</description>
    </item>
    <item>
      <pubDate>Wed, 14 Oct 2009 06:11:02 -0400</pubDate>
      <title>Re: Call self-made functions without m-File in current directory</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/262920#686853</link>
      <author>Jonas Baumann</author>
      <description>Hi Sven,&lt;br&gt;
&lt;br&gt;
Thanks a million, this is exactly what I was looking for.&lt;br&gt;
&lt;br&gt;
Regards,&lt;br&gt;
Jonas&lt;br&gt;
&lt;br&gt;
&quot;Sven&quot; &amp;lt;sven.holcombe@gmail.deleteme.com&amp;gt; wrote in message &amp;lt;havg25$k8b$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; Hi Jonas,&lt;br&gt;
&amp;gt; Yes.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; If you store your set of functions in a given directory, say &quot;C:/myfunctions/&quot;, you can then do the following:&lt;br&gt;
&amp;gt; addpath('C:/myfunctions/')&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; This will add your functions so that they are always available. I have the same setup, and I put the addpath() call into my startup script, so that my functions are always available.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Thanks,&lt;br&gt;
&amp;gt; Sven.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; &quot;Jonas Baumann&quot; &amp;lt;baumann.jonas@gmail.com&amp;gt; wrote in message &amp;lt;havdcd$kri$1@fred.mathworks.com&amp;gt;...&lt;br&gt;
&amp;gt; &amp;gt; Over time I accumulated a few very simple tough (for me) very useful) functions that I reuse often during all kinds of tasks.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Up to now I simply drag &amp; drop the required m-File into my current directory.&lt;br&gt;
&amp;gt; &amp;gt; Is there a way to include my &quot;collection&quot; to call them directly without copying files or entering directory paths? Kind of including them into my own customized functions database.&lt;br&gt;
&amp;gt; &amp;gt; &lt;br&gt;
&amp;gt; &amp;gt; Thanks for the advice</description>
    </item>
  </channel>
</rss>

