octave-maintainers
[Top][All Lists]
Advanced

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

How to break out of a computation?


From: Sebastien Loisel
Subject: How to break out of a computation?
Date: Sat, 18 Feb 2006 18:12:57 +0100

Hello,

I'm tweaking the I/O right now so that

1) You can see the result of any disp() as soon as it's done (instead of batched together at the end of the computation)
2) You can hit Ctrl+C.

I've got 1) done, but now I'm trying to figure out how to tell Octave to stop computing. How do I do that? Throw an exception? The way I do it now is when Octave does a octave_stdout<<foo, the actual octave_stdout.rdbuf() is a custom object that will dump foo into the output window. So I can actually do arbitrary computations and update the GUI whenever Octave does a <<.

Sébastien Loisel


reply via email to

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