octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Classdef test request under Matlab


From: vathomas
Subject: Re: Classdef test request under Matlab
Date: Sun, 23 Feb 2014 12:56:13 -0800 (PST)

For the second test (if I clear the x after creation)

>> x = clA

x = 

  clA with no properties.

>> h = @x.meth1

h = 

    @(varargin)x.meth1(varargin{:})

>> h()

ans =

     1

>> clear x
>> h()

ans =

     1

>> x = 10

x =

    10

>> h()

ans =

     1

>> x

x =

    10

best
Thomas



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


reply via email to

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