title: How to call a static class method from another method of the same class?
body: <p>I'm trying to work with Octave and I couldn't find how to run some scripts that uses functions of a file, the last thing I tried was creating a class, but without success. The problem is some functions have inside anothers functions. For example:</p>
  
  <pre><code>classdef ALLFUNCS
     methods(Static)
        function result = SumElements(a,b,c)
            result = a + b + c;
        end
        function [prod,div] = MultiplyDivide(v1,v2,v3)
            prod = v1 * v2 * v3;
            div  = v1 / v2 / v3;
        end
        function resulta = powelents(a,b,c)
          pas = SumElements(a,b,c);
          resulta = pas*pas;
        end 
     end
  end
  </code></pre>
  
  <p>In the command line I put </p>
  
  <pre><code>s2 = ALLFUNCS.powelents(3,4,5);
  </code></pre>
  
  <p>The error is:</p>
  
  <pre><code>error: 'SumElements' undefined near line 11 column 19
  error: called from
  powelents at line 11 column 17
  </code></pre>
  
  <p>So how can I solve this issue?</p>