Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1995
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1995

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Sequential Plotting, and "INKEY$", in Mathematica?

  • To: mathgroup at christensen.cybernetics.net
  • Subject: [mg761] Re: Sequential Plotting, and "INKEY$", in Mathematica?
  • From: roth at sunny.mpimf-heidelberg.mpg.de (Arnd Roth)
  • Date: Tue, 18 Apr 1995 00:52:01 -0400
  • Organization: Max-Planck-Institut fuer Medizinische Forschung

In article <3mi356$afn at news0.cybernetics.net>
siegman at ee.stanford.edu (A. E. Siegman) writes:

> 2)    Is there any way to start mma on, for example, an iterative or
>       lengthy calculation, and have the program test from time to time
>       whether any input key has been hit _while mma was running_?
>       (In other words, the equivalent of the INKEY$ function in Basic.)
> 
>       Again, I think this is a major weakness of mma.  You might want to
>       start an iterative calculation in mma, watch how the initial results
>       evolve, then hit a key to make the program branch or change values,
>       without stopping it (and without having it stop and wait for you
>       to come back and enter some input).

If you are using the Notebook interface you might try the "Enter
Dialog"
button in the "Action" menu. It allows you to create a "Mathematica
session within the Mathematica session" (even recursively). You can
inspect the values of variables in your calculations, and also in
many built-in functions.
For example, if you have a lengthy problem for FindMinimum[], you can
inspect the state of the optimization by this method. Don't forget to
hit "Exit Dialog" after you finished the inspection or otherwise your
main calculation will not continue.

Arnd Roth
Abteilung Zellphysiologie
Max-Planck-Institut fuer Medizinische Forschung
Postfach 10 38 20, D-69028 Heidelberg, Germany


  • Prev by Date: Re: Time Series
  • Next by Date: Running Mathematica in Windows 95
  • Previous by thread: Sequential Plotting, and "INKEY$", in Mathematica?
  • Next by thread: Re: Sequential Plotting, and "INKEY$", in Mathematica?