Monitor the values of variables as they change during a computation.

With Monitor...

Monitor the values of variables in a computation with Monitor:

  • Monitor multiple variables by putting them in a list.
  • If a monitored evaluation completes before the initial delay, no monitored variables are displayed.

With Explicit Dynamics...

You can use a Dynamic output to show the value of a variable as its value changes:

  • Variables scoped by Block or Module are not accessible by Dynamic outside of the scoping construct.