Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #11221 > unrolled thread

Re: Evaluation of a whole notebook from another one

Started bySseziwa Mukasa <mukasa@gmail.com>
First post2012-08-05 02:26 +0000
Last post2012-08-05 02:26 +0000
Articles 1 — 1 participant

Back to article view | Back to comp.soft-sys.math.mathematica

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Evaluation of a whole notebook from another one Sseziwa Mukasa <mukasa@gmail.com> - 2012-08-05 02:26 +0000

#11221 — Re: Evaluation of a whole notebook from another one

FromSseziwa Mukasa <mukasa@gmail.com>
Date2012-08-05 02:26 +0000
SubjectRe: Evaluation of a whole notebook from another one
Message-ID<jvklka$647$1@smc.vnet.net>
I would suggest making Source.nb a package, it can then be loaded with << orNeeds.

On Aug 4, 2012, at 5:58 AM, "Dr. Robert Kragler" <kragler@hs-weingarten.de> wrote:

>
> Hi,
>
> I have a simple question:
>
> There is a nb-file, say "Source.nb", which is called and should be evaluated as
> a whole (containing several procedures in a group of input cells) from another
> nb-file, say "Application.nb" which needs these procedures for further
> calculations.
>
> Within "Application.nb" the notebook "Source.nb" is correctly opened and pops up
> by NotebookOpen["filepath\Source.nb"]. It is, of course, possible to evaluate
> the cell group manually but the idea is to do this automatically and then return
> after evaluation to the calling nb-file "Application.nb" and close "Source.nb"
> using NotebookClose["filepath\Source.nb"].
>
> I miss a command such as NotebookEvaluate[...]. The commands EvaluationNotebook
> and SelectionEvaluate are not just doing what I want. Suggestions are appreciated.
>
> R. Kragler
>
>

[toc] | [standalone]


Back to top | Article view | comp.soft-sys.math.mathematica


csiph-web