Initialization

Initialization
is an option for Dynamic, DynamicModule, Manipulate, and related constructs that specifies an expression to be evaluated when the construct is first displayed.

DetailsDetails

  • The typical usage is Initialization:>expr.
  • Initialization expressions defined in particular cells in a notebook are evaluated when those cells are first made visible, and not necessarily when the notebook is first opened.
New in 6
New to Mathematica? Find your learning path »
Have a question? Ask support »