help-octave
[Top][All Lists]
Advanced

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

calling overriden method from child class from class folder


From: Carnë Draug
Subject: calling overriden method from child class from class folder
Date: Tue, 16 Feb 2016 14:26:29 +0000

I came across this question [1] on stack overflow today.  I found the
question a bit confusing (the OP is mixing classdef documentation and
class folders), but it basically boils down to "How to call a method
from the parent class when the method has been overloaded"?

I looked at our documentation and even on Mathworks documentation and I
couldn't find a way to do it.  In the end I suggested to keep the object
of the parent class around in order to call its methods directly [2].

But am I missing something and is there an undocumented way to do it?
It looks an ugly workaround.

Carnë

[1] 
http://stackoverflow.com/questions/35416330/how-to-access-a-superclass-method-in-octave
[2] http://stackoverflow.com/a/35419173/1609556



reply via email to

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