MathGroup Archive 2004

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

Search the Archive

Re: using file txt in mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg49431] Re: using file txt in mathematica
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Mon, 19 Jul 2004 07:46:35 -0400 (EDT)
  • Organization: Universitaet Leipzig
  • References: <cddpq5$pdt$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

what may Import[] do ??

The 
!! a.txt

is just to display the text file in the frontend
but it does not try to read the contents of the file
into the kernel.

Regards
  Jens


paolo wrote:
> 
> If I save an output from a module in a txt file, how can i use it again in one other module?
> For example:
> 
> The output from my module is
> 
> a = {1,2,3,4}{5,6,7,8}{9,10,11,12}{13,14,15,16}
> 
> save this output is a .txt file format
> 
> TextForm @ TableForm[a] >> "a.txt"
> 
> then load the file txt
> 
> !! a.txt
> 
> but how can I use, in one other module, the single elements of matrix "a" that I saved in the file .txt?? for example how can i do this:
> 
> a[[1]][[3]] * y ???????
> 
> Thanks and regards
> 
> Paolo


  • Prev by Date: RE: FindRoot s all
  • Next by Date: Re: using ExportToEPSWithFonts
  • Previous by thread: Re: using file txt in mathematica
  • Next by thread: Re: using file txt in mathematica