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: Michael Goffioul
Subject: Re: Test in Matlab request [classdef]
Date: Sat, 1 Feb 2014 20:53:11 -0500

On Sat, Feb 1, 2014 at 8:52 PM, Michael Goffioul <address@hidden> wrote:
On Sat, Feb 1, 2014 at 8:28 PM, Michael Goffioul <address@hidden> wrote:
On Sat, Feb 1, 2014 at 5:53 PM, vathomas <address@hidden> wrote:
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.

Thanks. Would you (or someone else) mind testing with this variant of clA.m?

My apologies. Use this version instead. Thanks.

Jesus, I think I should stop for today...
With the file, this time.

Michael.

Attachment: clA.m
Description: Text Data


reply via email to

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