MathGroup Archive 2004

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

Search the Archive

using file txt in mathematica


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: FindRoot s all
  • Next by Date: Re: Tr vs Total
  • Previous by thread: Re: FindRoot s all
  • Next by thread: Re: using file txt in mathematica