Running Octave function - undefined near line 1 column 5
<p>I got a problem with running any Octave function.
The function can be as simple as:</p>

<pre><code>function a = testt(k)
  a = k + 5
end
</code></pre>

<p>named testt.m and called with commander</p>

<blockquote>
  <blockquote>
    <p>a = testt(7)</p>
  </blockquote>
</blockquote>

<p>gives an error: 'testt' undefined near line 1 column 5</p>

<p>I added path before addpath(pwd). I copied some available function from web. And it is still the same. 
At the same time I'm able to run another function which I wrote two days ago and which is in the same directory:</p>

<pre><code>    function A = fibn_(n)

    B = [0 1];

    for i = 1: n-2

      nkol = size(B,2);
      minus = B(1,nkol);
      minus1 = B(1,nkol-1);

      B(1,nkol+1) = minus1 + minus;

    end;

    A = B;

    end;
</code></pre>

<p>I have no idea what is the difference between this two (not only this two but also many other functions that seems to be correct).</p>

<p>Anybody help?</p>