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: Philip Nienhuis
Subject: Re: Another request for classdef test in Matlab
Date: Fri, 4 Jan 2013 15:45:46 -0800 (PST)

bpabbott wrote
> 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

Excellent. Then I can go to bed ...  ;-)

P.



--
View this message in context: 
http://octave.1599824.n4.nabble.com/Another-request-for-classdef-test-in-Matlab-tp4648583p4648592.html
Sent from the Octave - Maintainers mailing list archive at Nabble.com.


reply via email to

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