classdef propclass

  properties
    bar = 10;
  endproperties

  properties(Dependent)
    baaz
  endproperties

  methods
    function out = get.baaz (this)
      out = this.bar .* 2;
    endfunction
  endmethods

endclassdef
