Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: using file txt in mathematica

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


what may Import[] do ??

!! 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.


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