InitializationCell
is an option for Cell that specifies whether the cell should be tagged to be evaluated by the Wolfram Language kernel immediately before the first evaluation performed by the user after the notebook is opened.
Examples
Basic Examples (1)
Create and save a notebook that has an input cell marked as initialization:
Initialization cells are useful when you reopen the saved notebook:
You can use Evaluation ▶ Evaluate Initialization Cells to evaluate initialization cells:
Or, when you evaluate any cell, the Wolfram System asks if you want to evaluate the initialization cells:
Text
Wolfram Research (1996), InitializationCell, Wolfram Language function, https://reference.wolfram.com/language/ref/InitializationCell.html.
CMS
Wolfram Language. 1996. "InitializationCell." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/InitializationCell.html.
APA
Wolfram Language. (1996). InitializationCell. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/InitializationCell.html