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

MathGroup Archive 2001

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

Search the Archive

Re: possible?: Notebook in "batch mode"

  • To: mathgroup at smc.vnet.net
  • Subject: [mg29142] Re: possible?: Notebook in "batch mode"
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 30 May 2001 23:28:28 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <9f2gph$88d$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

what are the *.m files for ?

*.m files collect a number of Mathematica
commands that you can read with Get[] or pass
via command line to the kernel.

The kernel alone can only read *.m files and
 

math < test.m

will execute the commands in test.m and
exit.

Regards
  Jens


Harald von der Osten-Woldenburg wrote:
> 
> Hi,
> 
> is it possible to work in batch mode, using a Mathematica-Notebook? I
> have tried something like  math<Notebook.nb    but without any success.
> 
> I have to work on 800 data files, using:
> 
> data = Import["02000.dat", "Table"]      and
> wfile=OpenWrite["02000-new.dat"]      respectively within the notebook.
> 
> Also without any success I have tried to read in those filenames written
> in another input file. Is this also not possible or must I do some
> tricky construction? Or is it possible to work like
> 
> math < Notebook.nb     %Input-Parameter1     %Input-Parameter2
> 
> I would be very happy getting the smallest hint
> 
> Harald
> 
> --
> Harald von der Osten-Woldenburg
> Geophysical Prospection of Archaeological Sites
> Landesdenkmalamt Baden-Wuerttemberg
> Silberburgstrasse 193
> D-70178 Stuttgart
> Fax Office: +49-(0)711-1694-707
> Fax Private: +49-(0)180 50 52 55 22 10 05
> http://www.lb.netic.de/hvdosten : Geomagnetics, Geoelectrics, Radar, EMI


  • Prev by Date: Re: Importing EPS
  • Next by Date: Re: Need help writing geology software using cirlces
  • Previous by thread: possible?: Notebook in "batch mode"
  • Next by thread: Re: possible?: Notebook in "batch mode"