MathGroup Archive 2003

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

Search the Archive

Re: Q: (how?) notebooks with I/O loop


Hi,

write a function that does the steps 1-3 and save it to
a plain ASCII file say myjob.m

Than open the Mathematica Kernel (not the Forntend)
math and say

In[]:=<<myjob.m

If you need notebooks there is a NotebookLog.m package
in the ProgrammingInMathematica folder on the AddOns directory
that create the notebook

Regards
  Jens

Jason Miller wrote:
> 
> Dear Mathematica Gurus.
> 
> I am working with a student (undergraduate math major) who is using
> Wavelet Explorer to process numerous datasets using a multiresolution
> analysis with various parameter settings.  We would like to know how
> we might create a notebook that would
>         (1) read in a datafile from a list of files in a local
> directory (or in a hardcoded array),
>         (2) run a multiresolution analysis on the file (this analysis
> is already coded),
>         (3) save the results (e.g., in the form of a mathematica notebook), and
>         (4) do the same in turn for each of the datasets in a local
> directory, as described in (1).
> Having a way to create such a 'loop' would save us much time, but
> we're don't know how to direct Mathematica to save the results of
> each analysis.
> 
> Can anybody tell us how we might do this, or if it's a reasonable thing to do?
> 
> Thank you in advance.
> 
> Jason
> --
> Jason Miller, Ph.D.
> Division of Mathematics and Computer Science
> Truman State University
> 100 East Normal St.
> Kirksville, MO  63501
> http://vh216801.truman.edu/millerj
> 660.785.7430


  • Prev by Date: Re: Re: DSolve and N do not commute
  • Next by Date: Questions concerning printing,editing, and copy/paste
  • Previous by thread: Q: (how?) notebooks with I/O loop
  • Next by thread: Re: Q: (how?) notebooks with I/O loop