Re: Executing external notebook
- To: mathgroup at smc.vnet.net
- Subject: [mg92764] Re: Executing external notebook
- From: Peter Pein <petsie at dordos.net>
- Date: Sun, 12 Oct 2008 04:35:17 -0400 (EDT)
- References: <firstname.lastname@example.org>
change all input cells in common.nb to initialisation cells, save common.nb
and chose in the appearing box to create an autosave package. this will
generate a file common.m in the same folder as the common.nb is located in.
Then you can use <<"/path/to/common" in your main[1-5].nb (of course you have
to replace the "/path/to" part by the actual path to your common file).
pdingle at gmail.com schrieb:
> 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,
> each of which must call
> 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: Export as PDF without " for strings
Next by Date:
Bug in Manipulate with Trigger control?
Previous by thread:
Executing external notebook
Next by thread:
Easiest Mathematica algorhitm needed