MathGroup Archive 2001

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

Search the Archive

Re: possible?: Notebook in "batch mode"


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


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
> : 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"