NotebookEvaluate
Wolfram Kernel
NotebookEvaluate[_RemoteNotebook, opts___]
NotebookEvaluate[path_String | File[path_String], opts___]evaluates all content of provided RemoteNotebook or by file path following the rules:
- all initialization cells are evaluated once for this notebook object
- the rest of the remianing cells are evaluated for every call
Options
"ContextIsolation"
By the default is False, i.e. all notebook content is placed to Global and will be available globally on Kernel. Set to True to isolate notebook in generated context.
"EvaluationContext"
Allows to manually provide evaluation context, i.e. System$EvaluationContext`.
Blocking function. Avoid using it in timers like SetTimeout, external event handlers such as InputButton or Button, or within AsyncFunction. Use NotebookEvaluateAsync instead.
Use NotebookEvaluateAsModule if you need to get the output from the evaluated notebook