|
From: | Серёжа Плотников |
Subject: | Re: [classdef] Can someone test this for me? |
Date: | Tue, 15 Oct 2013 19:45:34 +0200 |
In Matlab, of course.file classbase.m:classdef classbasemethods (Sealed)function y = fun (obj)y = 0;endendendfile @classderiv/classderiv.m:classdef classderiv < classbaseendfile @classderiv/fun.m:function y = fun (obj)y = 1;endThen at Matlab prompt:c = ?classderivc.MethodListThen restart Matlab and at the prompt:x = classderivx.funThanks,Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |