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: Sun, 2 Feb 2014 03:33:26 -0800 (PST)

Hi,

with the last attached file, the results are:

>> runTest

x1 = 

  clB with properties:

    prop: 'valB'


x2 = 

  clB with properties:

    prop: 'valB'

>>>>>> x1.getProp ()

ans =

valA

>>>>>> x1.getProp (x2)
getProp: using "other"
this.prop = 
valA
other.prop = 
valA
intern.prop = 
valA

ans =

valA

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

Best, 
Thomas



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


reply via email to

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