matlab equivalent of unwind_protect in R2008a
David Bateman
adb014 at gmail.com
Tue Mar 25 19:59:20 CDT 2008
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.
More information about the Octave-maintainers
mailing list