|
From: | Michael Goffioul |
Subject: | Re: Test in Matlab request [classdef] |
Date: | Sat, 1 Feb 2014 16:34:38 -0500 |
>> runtestOn 02/01/2014 03:36 PM, Michael Goffioul wrote:
Can someone test the attached files for me. Just put all files into the same dir, cd into that dir and run "runTest" in Matlab.
Thanks,
Michael.
Warning: Could not find an exact (case-sensitive) match for 'runtest'.
/home/godfrey/mdg/class_test/runTest.m is a case-insensitive match and will be used instead.
You can improve the performance of your code by using exact
name matches and we therefore recommend that you update your
usage accordingly. Alternatively, you can disable this warning using
warning('off','MATLAB:dispatcher:InexactCaseMatch').
This warning will become an error in future releases.
x1 =
clB
Properties:
prop: 'valB'
x2 =
clB
Properties:
prop: 'valB'
>>>>>> x1.getProp ()
ans =
valB
>>>>>> x1.getProp (x2)
getProp: using "other"
ans =
valB
>>>>>> x1.callPrivMeth ()
clA::privMeth
>>>>>> x1.callPrivMeth (x2)
callPrivMeth: using "other"
clA::privMeth
>> version
ans =
7.9.0.529 (R2009b)
>>
[Prev in Thread] | Current Thread | [Next in Thread] |