help-octave
[Top][All Lists]
Advanced

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

Re: Octave - Destructor method


From: Jordi Gutiérrez Hermoso
Subject: Re: Octave - Destructor method
Date: Fri, 30 Aug 2013 15:06:53 -0400

On Fri, 2013-08-30 at 19:38 +0200, Werner Koenig wrote:
> is there a possibility to build a destructor method for a class in Octave.

No, not presently. COW semantics kind of make it impossible to do
this, so you need the handle classes of classdef to get this, but
there is no implementation of classdef in the stable Octave release
(and the classdef implementation in the development version is not at
all ready for production).

You'll have to manually mimic the effect of a destructor.

- Jordi G. H.




reply via email to

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