Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

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: [mg72599] Re: How to export txt files with variable name &
  • From: dh <dh at metrohm.ch>
  • Date: Wed, 10 Jan 2007 04:25:29 -0500 (EST)
  • References: <eo00dp$kkd$1@smc.vnet.net>


"Coord_"<>ToString[n]<>".txt"



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: Call-by-reference from inside a function
  • Next by Date: Re: How to export txt files with variable name &
  • Previous by thread: RE: How to export txt files with variable name &
  • Next by thread: Re: How to export txt files with variable name &