[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: matlab equivalent of unwind_protect in R2008a
From: |
David Bateman |
Subject: |
Re: matlab equivalent of unwind_protect in R2008a |
Date: |
Wed, 26 Mar 2008 01:59:20 +0100 |
User-agent: |
Thunderbird 2.0.0.12 (X11/20080306) |
John W. Eaton wrote:
> Since this function was only recently introduced and we would only be
> adding it to the development branch anyway, it it important enough to
> add now? I think I'd prefer to wait and do it with a class
> destructor. OTOH, you've already done the work to implement a
> temporary solution. If you feel strongly that this code should be
> included, then I'll add it.
Not really, at least until someone else starts giving me code with the
onCleanup function in. At that point I might change my mind.. I'd prefer
to see it done with a class destructor is possible as that would then
have the same behavior as the matlab function.
D.