octave-maintainers
[Top][All Lists]
Advanced

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

Re: Another request for classdef test in Matlab


From: Ben Abbott
Subject: Re: Another request for classdef test in Matlab
Date: Fri, 04 Jan 2013 18:39:38 -0500

On Jan 4, 2013, at 6:03 PM, Michael Goffioul wrote:

> Could you also try with this class:
> 
> classdef ClassA < handle
>   properties
>     x = 1;
>   end
>   methods
>     function obj = ClassA (x)
>       if nargin > 0
>         obj.x = x;
>       end
>     end
>     function value = get.x (obj)
>       disp ('get.x');
>       value = obj.x;
>     end
>   end
> end
> 
> Michael.

I'm running 2013a as is Philip.  I haven't checked, but assume I'll get he same 
results as he has already reported.

Ben



reply via email to

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