[Top][All Lists]

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

Questions about quitting Octave and exit confirmation dialog

From: John W. Eaton
Subject: Questions about quitting Octave and exit confirmation dialog
Date: Mon, 28 Oct 2019 15:38:54 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.0

I'm trying to improve the way Octave behaves when exiting and would like to understand what Matlab users might expect.

Does Matlab offer a "confirm before quitting" option for its GUI?

Does that action work when quit is called from a function, or only when it is executed at the command line or when Matlab is closed using some "exit applcation" button in the GUI?

If confirmation is requested when the quit function is called from a function, what does the quit function do? Here is an example:

  function myquit ()
     disp ('foo-i-hithere');

If you call this function and a quit confirmation dialog is shown and quitting is NOT confirmed, does execution continue immediately after the call to "quit" so that the message displayed? Or does execution resume at the top-level command prompt with no message displayed? I'm trying to determine whether the quit function interrupts the execution of a program (similar to Control-C) even if the quit action is not confirmed.



reply via email to

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