MathGroup Archive 2000

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

Search the Archive

Re: Executing a notebook repeatedly from a script

  • To: mathgroup at smc.vnet.net
  • Subject: [mg25979] Re: Executing a notebook repeatedly from a script
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 15 Nov 2000 02:09:35 -0500 (EST)
  • Organization: Universitaet Leipzig
  • References: <8uqutr$qpf@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

this work not with notebooks, notebooks are for
interactive usage !

You can write a notanotebook.m file and do all your commands with

math < notanotebook.m > /dev/nul

Regards
  Jens

dkeith at sarif.com wrote:
> 
> I am looking for a way to automate the repeated execution of a notebook
> on new data. The notebook as I use it now reads all of the files in a
> directory (jpg images), processes them in varying ways to extract
> numerical values of different types, and then writes these values to a
> summary file for later use. The images associated with different data
> sets are stored in seperate directories which, at this time, must be
> processed by running the notebook after altering a string value which
> is the directory name containing the files. A fresh kernel is used each
> time to recover memory since the memory consumption is very high.
> 
> I would like to automate this so that it performs this process on each
> subdirectory under some higher level directory. If the notebook was
> much less complicated, I would rewrite it as a single function to be
> applied to a directory name string and then just Map it onto a list of
> names, but it is way to complicated to make me want to approach it that
> way.
> 
> Can anyone suggest a way of handling this?
> 
> Thanks.
> 
> Sent via Deja.com http://www.deja.com/
> Before you buy.


  • Prev by Date: Re: Bug in Limit ?
  • Next by Date: Re: Q: Symbolize: How to create a table of indexed symbols?
  • Previous by thread: Executing a notebook repeatedly from a script
  • Next by thread: Re: Executing a notebook repeatedly from a script