Anthony
Anthony

Reputation: 633

How do you configure Mathematica 9 to automatically evaluate all notebooks?

I have a Mathematica 6 course that I am using in Mathematica 9; there is no updated version. Every time I open a notebook I have to go to the Evaluation menu and click on "Evaluate Notebook". Is there a way for me to set it so that it automatically evaluates a notebook upon my opening it?

Upvotes: 2

Views: 889

Answers (1)

Sos
Sos

Reputation: 1949

You can setup the initialization cells. Check this and this. Afterwards, you can just open a notebook and just evaluate any cell (e.g. 2+2 -> Shift+Enter) and accept to run all initialization cells. One thing that helped me was checking NotebookEvaluate in the docs - this way I can evaluate all cells in another notebook without even having to open it.

You may find further information about options for cells in here.

Upvotes: 2

Related Questions