|
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: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:
valA
prop: 'valB'
>>>>>> x1.getProp ()
ans =
valA
>>>>>> x1.getProp (x2)
getProp: using "other"
ans =
8.2.0.701 (R2013b)
>>>>>> x1.callPrivMeth ()
clA::privMeth
>>>>>> x1.callPrivMeth (x2)
callPrivMeth: using "other"
clA::privMeth
>> version
ans =
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.
clA.m
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |