title: Undefined function '' for input arguments of type 'double'
body: <p>i have already spent more than 5 hours trying to solve the problem on myself, but i guess im too stupid to do so. Here is the Code:</p>
  
  <pre><code>classdef valueInt
     properties
        myValue=0;
        PropertyName=0;
     end
     methods
        function v =  valueInt(val)
           v.myValue=val;
        end
  
         function obj = set.PropertyName(obj,value)
  
        obj.PropertyName = value;
  
          end
  
     end
  
  end
  </code></pre>
  
  <p>I am getting <code>Undefined function 'PropertyName' for input arguments of type 'double'.</code> when i try in the Command: <code>objeect=PropertyName(2) or vi1=valueInt(7);</code></p>
  
  <p>Thank you for your help and time. My file is called "<code>valueInt</code>"</p>