Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: Evaluating notebooks from other notebooks

  • To: mathgroup at smc.vnet.net
  • Subject: [mg86389] Re: Evaluating notebooks from other notebooks
  • From: David Bailey <dave at Remove_Thisdbailey.co.uk>
  • Date: Mon, 10 Mar 2008 02:03:26 -0500 (EST)
  • References: <fqtqme$d7q$1@smc.vnet.net>

ag wrote:
> Hi,
> I was wondering if it is possible to evaluate a notebook, say
> "xyz.nb" (without loading it in the front end), from another notebook
> (say "root.nb") using some command like:
> 
> EvaluateNotebook["xyz.nb", path]
> 
> TIA,
> Ashutosh.
> PS: I am using Mathematica 6.0.1.
> 
Further to David Reiss's answer, I would just like to add that this is a 
relatively unusual thing to wish to do. Using 6.0, .m files edit nicely 
in the frontend, and it is usually more convenient to create a .m file - 
xyz.m, and then execute it using Get["xyz.m"]

David Bailey
http://www.dbaileyconsultancy.co.uk


  • Prev by Date: Re: Re: Re: changing style of vertices for ShowGraph
  • Next by Date: FindFit issue
  • Previous by thread: Re: Evaluating notebooks from other notebooks
  • Next by thread: Re: Evaluating notebooks from other notebooks