title: The class has no property or method named '...'. MATLAB error
body: <p>I am trying to call a C# dll in MATLAB. </p>
  
  <p>Here my C# dll:</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Linq;
  using System.Text;
  using System.Threading.Tasks;
  
  namespace dllForMatlab
  {
    public class Class
    {
      public void MultipleOut(int in1, int in2, out int out1, out int out2)
      {
          out1 = in1 * in2;
          out2 = in1 + in2;    
      }
    }
  }
  </code></pre>
  
  <p>Here my MATLAB code:</p>
  
  <pre><code>NET.addAssembly('the path\dllForMatlab.dll');
  in1=5;
  in2=3;
  [out1, out2] = dllForMatlab.Class.MultipleOut(in1, in2);
  </code></pre>
  
  <p>I use MATLAB R2011b and I got that error "The class dllForMatlab.Class has no property or method named 'MultipleOut'."</p>
  
  <p>I don't understand why I can not call the MultipleOut method.</p>
  
  <p>Is there anybody who has an idea about reason of that problem?</p>