title: How do I access a superclass's constant property within Matlab?
body: <p>I have a simple class structure like so:</p>
  
  <pre><code>classdef super &lt; hgsetget
      properties(Constant = true, Access = private)
          PROP1 = 1;
          PROP2 = {2 [3 4] [5 6]};
      end
  
      methods
          function self = super()
              // Constructor code here
              // ...
          end
      end
  end
  </code></pre>
  
  <p>which is then inherited by a subclass like so.</p>
  
  <pre><code>classdef sub &lt; super
      properties
          PROP3 = 7;
      end
  
      methods
          function self = sub()
              // Subclass constructor here
              // ...
              self = self@super();
              test = self.PROP1; // I don't appear to have access to PROP1 from Super
  
          end
      end
  end
  </code></pre>
  
  <p>My issue is when I try to access to the super's property <code>PROP1</code> or <code>PROP2</code> I don't seem to get access:</p>
  
  <blockquote>
    <p>No appropriate method, property, or field PROP1 for class sub.</p>
  </blockquote>
  
  <p>Is there a way to access to the super's property within Matlab?</p>