<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/146469</link>
    <title>MATLAB Central Newsreader - editing/using mfile from Toolbox without admin rights (n00b)</title>
    <description>Feed for thread: editing/using mfile from Toolbox without admin rights (n00b)</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, 23 Apr 2007 05:01:35 -0400</pubDate>
      <title>editing/using mfile from Toolbox without admin rights (n00b)</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/146469#368514</link>
      <author>TUDelft</author>
      <description>I have a total n00b question. I spend hours looking in the&lt;br&gt;
Help-functions but it drives me crazy. Each time when I think I found&lt;br&gt;
the solution it didnt help. I hope you guys can help me out. The&lt;br&gt;
solution is probably very simple, yet, I didnt found it.&lt;br&gt;
&lt;br&gt;
For my graduation project I need to change a mfile from the Toolbox.&lt;br&gt;
The problem is that I cannot save it in the current directory because&lt;br&gt;
it is public school PC Im working on. I have tried to save it in my&lt;br&gt;
own directory but then I get errors that Matlab cannot specify a&lt;br&gt;
function. The message is:&lt;br&gt;
&lt;br&gt;
Undefined command/function 'findpeak'.&lt;br&gt;
&lt;br&gt;
Error in ==&amp;gt; cpcorr at 115&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;[xpeak, ypeak, amplitude] = findpeak(norm_cross_corr,subpixel);&lt;br&gt;
&lt;br&gt;
The problem is probably that I use some mfiles from my own directory&lt;br&gt;
(USB hdd) in combination with the mfiles from the Toolbox.&lt;br&gt;
&lt;br&gt;
However, I hope you can help me out. I think the solution is very&lt;br&gt;
easy, and just the settings I have to edit (I hope).</description>
    </item>
    <item>
      <pubDate>Mon, 23 Apr 2007 05:12:51 -0400</pubDate>
      <title>Re: editing/using mfile from Toolbox without admin rights (n00b)</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/146469#368517</link>
      <author>Ken Davis</author>
      <description>&quot;TUDelft&quot; &amp;lt;wessels1984@gmail.com&amp;gt; wrote in message &lt;br&gt;
news:ef54a80.-1@webcrossing.raydaftYaTP...&lt;br&gt;
&amp;gt;I have a total n00b question. I spend hours looking in the&lt;br&gt;
&amp;gt; Help-functions but it drives me crazy. Each time when I think I found&lt;br&gt;
&amp;gt; the solution it didnt help. I hope you guys can help me out. The&lt;br&gt;
&amp;gt; solution is probably very simple, yet, I didnt found it.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; For my graduation project I need to change a mfile from the Toolbox.&lt;br&gt;
&amp;gt; The problem is that I cannot save it in the current directory because&lt;br&gt;
&amp;gt; it is public school PC Im working on. I have tried to save it in my&lt;br&gt;
&amp;gt; own directory but then I get errors that Matlab cannot specify a&lt;br&gt;
&amp;gt; function. The message is:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Undefined command/function 'findpeak'.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Error in ==&amp;gt; cpcorr at 115&lt;br&gt;
&amp;gt;    [xpeak, ypeak, amplitude] = findpeak(norm_cross_corr,subpixel);&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; The problem is probably that I use some mfiles from my own directory&lt;br&gt;
&amp;gt; (USB hdd) in combination with the mfiles from the Toolbox.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; However, I hope you can help me out. I think the solution is very&lt;br&gt;
&amp;gt; easy, and just the settings I have to edit (I hope).&lt;br&gt;
&lt;br&gt;
As long as your functions are well-defined and visible on your path, you &lt;br&gt;
should be okay. See &quot;help path&quot; and &quot;help which&quot; for help. </description>
    </item>
    <item>
      <pubDate>Mon, 23 Apr 2007 07:03:28 -0400</pubDate>
      <title>Re: editing/using mfile from Toolbox without admin</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/146469#368536</link>
      <author>French Caro</author>
      <description>Hi,&lt;br&gt;
&lt;br&gt;
The problem is that 'findpeak' is a private function, it can be&lt;br&gt;
accessed only by functions which are located in the directory just on&lt;br&gt;
top.&lt;br&gt;
So I'm afraid that you have to copy it and all other private&lt;br&gt;
functions your function need in your own directory.&lt;br&gt;
I suppose that the problem will arise if the function uses some&lt;br&gt;
classes which are located in the original directory.</description>
    </item>
    <item>
      <pubDate>Mon, 23 Apr 2007 08:15:18 -0400</pubDate>
      <title>Re: editing/using mfile from Toolbox without admin</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/146469#368550</link>
      <author>TUDelft</author>
      <description>French caro wrote:&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Hi,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; The problem is that 'findpeak' is a private function, it can be&lt;br&gt;
&amp;gt; accessed only by functions which are located in the directory just&lt;br&gt;
&amp;gt; on&lt;br&gt;
&amp;gt; top.&lt;br&gt;
&amp;gt; So I'm afraid that you have to copy it and all other private&lt;br&gt;
&amp;gt; functions your function need in your own directory.&lt;br&gt;
&amp;gt; I suppose that the problem will arise if the function uses some&lt;br&gt;
&amp;gt; classes which are located in the original directory.&lt;br&gt;
&lt;br&gt;
I was also thinking about that. Do you know how I can find out (as&lt;br&gt;
quickly as possible) which private functions I have to copy-paste to&lt;br&gt;
my own custom directory? Is there a command for it?&lt;br&gt;
&lt;br&gt;
Thanks for the replies</description>
    </item>
    <item>
      <pubDate>Mon, 23 Apr 2007 09:12:07 -0400</pubDate>
      <title>Re: editing/using mfile from Toolbox without admin</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/146469#368570</link>
      <author>French Caro</author>
      <description>Hi,&lt;br&gt;
You can try the function depfun.&lt;br&gt;
I've never used it, and I'm not sure that it take the private&lt;br&gt;
functions but it's the only way I see.</description>
    </item>
  </channel>
</rss>

