help-octave
[Top][All Lists]
Advanced

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

Re: automatic execution of user functions when exit octave


From: Søren Hauberg
Subject: Re: automatic execution of user functions when exit octave
Date: Fri, 26 May 2006 17:39:08 +0200

I don't think you can override the exit function without changing the
octave sources. But can't you simple create your own exit function such
as

function myexit()
  deinit_device(); # Or whatever...
  exit();
endfunction

Søren

fre, 26 05 2006 kl. 17:16 +0200, skrev Stefan Mahr:
> hi,
> 
> is it possible to "plug in" a user function to the exit routine? how? i 
> need to deinit the interface to a device driver before exiting octave, 
> otherwise octave freezes.
> 
> greetings
> Stefan
> _______________________________________________
> Help-octave mailing list
> address@hidden
> https://www.cae.wisc.edu/mailman/listinfo/help-octave



reply via email to

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