MathGroup Archive 2008

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Executing external notebook

  • To: mathgroup at
  • Subject: [mg92753] Re: Executing external notebook
  • From: "David Park" <djmpark at>
  • Date: Sun, 12 Oct 2008 04:33:15 -0400 (EDT)
  • References: <gcq09i$c30$>

This sounds like a place where you should really write a package. Then each 
of the notebooks can load the package with a 
Needs[packagefolder`packagename`] statement.

You can check the documentation on packages if you don't know how to write 
one. Unfortunately, the documentation is somewhat disjointed and incomplete.

The Presentations package comes with a sample 'toy' package that shows users 
the process for writing a package. It has a sample notebook that creates the 
package with quite a bit of commentary on how it works, how to name it, and 
where to put it.

If you wish, I can send you the package notebook that could serve as a guide 
for turning your own routines into a package. It is basically quite simple.

David Park
djmpark at

<pdingle at> wrote in message news:gcq09i$c30$1 at
>I have a really trivial question, but nevertheless am stuck.
> Within a notebook file, how do I execute an external notebook and keep
> all the results in memory?
> For example I have 5 files,
> main1.nb
> main2.nb
> main3.nb
> main4.nb
> main5.nb
> each of which must call
> common.nb
> which contains code that is common to all 5 main files.
> It seems like this should be easy to do but I cannot find an
> appropriate command (Get seems like it is intended for this purpose,
> but perhaps I am not using it correctly).

  • Prev by Date: Re: FindFit
  • Next by Date: Re: Executing external notebook
  • Previous by thread: Re: Easiest Mathematica algorhitm needed
  • Next by thread: Re: Executing external notebook