MathGroup Archive 2007

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

Search the Archive

Re: How to export txt files with variable name &

  • To: mathgroup at smc.vnet.net
  • Subject: [mg72600] [mg72600] Re: How to export txt files with variable name &
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Thu, 11 Jan 2007 03:56:49 -0500 (EST)
  • Organization: Uni Leipzig
  • References: <eo00dp$kkd$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de

Hi,

Do[Export["Coord_"<>ToString[n]<>".txt", Coord[n], "Table"], {n, 0, 3}]

??

Regards
   Jens

Cham wrote:
> I need to use the operation 
> 
> D0[Export["Coord_n.txt", Coord[n], "Table"], {n, 0, 3}]
> 
> with a variable name.  I want Mathematica to write down several files with names likes this (as much names as there are values for the variable "n") :
> 
> Coord_0.txt,  Coord_1.txt,  Coord_2.txt,  Coord_3.txt
> 
> How can I do that ?
> 


  • Prev by Date: Re: How to export txt files with variable name &
  • Next by Date: Re: help
  • Previous by thread: Re: How to export txt files with variable name &
  • Next by thread: help