octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Unable to have get/set methods in classdef files


From: Michael Goffioul
Subject: Re: Unable to have get/set methods in classdef files
Date: Wed, 22 Jan 2014 07:04:28 -0500

On Wed, Jan 22, 2014 at 3:11 AM, John W. Eaton <address@hidden> wrote:
On 01/18/2014 11:05 PM, Michael Goffioul wrote:
Defining a get/set method in a classdef file results in a parsing error.
I'm not sure what's the best way to solve this, but John if you can give
me a hint, I'm willing to fix the issue.

Can you give me a specific code example that shows the failure?

classdef clA
  methods
    function y = get (this)
      y = 0;
    end
  end
end

Michael.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]