octave-maintainers
[Top][All Lists]
Advanced

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

Re: [classdef] Can someone test this for me?


From: Michael Goffioul
Subject: Re: [classdef] Can someone test this for me?
Date: Tue, 15 Oct 2013 13:52:51 -0400

On Tue, Oct 15, 2013 at 1:45 PM, Серёжа Плотников <address@hidden> wrote:
Hi Michael,

below are the results from R2013a

>> c = ?classderiv
Method 'fun' in class 'classderiv' conflicts with the Sealed method from the superclass definition in
'classbase'.
 
>> c.MethodList
Undefined variable "c" or function "c.MethodList".

New ML Session:

>> x = classderiv
Error using classderiv
Method 'fun' in class 'classderiv' conflicts with the Sealed method from the superclass definition in
'classbase'.
 
>> x.fun
Undefined variable "x" or function "x.fun".


Interesting. Could you also try this variant for me?

Move @classderiv/fun.m to a/@classderiv/fun.m, assuming "a/" subdir is not automatically on your Matlab path. Then at the prompt:

c = ?classderiv
c.MethodList.Name
addpath a
c = ?classderiv
c.MethodList.Name

Then restart Matlab and try this:

x = classderiv
x.fun
addpath a
x.fun
y = classderiv
y.fun

Thanks,
Michael.


reply via email to

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