octave-maintainers
[Top][All Lists]
Advanced

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

Re: Test in Matlab request [classdef]


From: vathomas
Subject: Re: Test in Matlab request [classdef]
Date: Sat, 1 Feb 2014 14:53:48 -0800 (PST)

Hi,
I ran the test in a newer Matlab version and the results was different:

>> runTest

x1 = 

  clB with properties:

    prop: 'valB'


x2 = 

  clB with properties:

    prop: 'valB'

>>>>>> x1.getProp ()

ans =

valA

>>>>>> x1.getProp (x2)
getProp: using "other"

ans =

valA

>>>>>> x1.callPrivMeth ()
clA::privMeth
>>>>>> x1.callPrivMeth (x2)
callPrivMeth: using "other"
clA::privMeth
>> version

ans =

8.2.0.701 (R2013b)

I was also able to reproduce the example from the link you suggested.

Best,
Thomas



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


reply via email to

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