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 D. Godfrey
Subject: Re: Test in Matlab request [classdef]
Date: Sat, 01 Feb 2014 16:01:05 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

On 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.

>> runtest
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)

>>



reply via email to

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