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: reading from file

  • To: mathgroup at smc.vnet.net
  • Subject: [mg80153] Re: reading from file
  • From: chuck009 <dmilioto at comcast.com>
  • Date: Tue, 14 Aug 2007 06:52:27 -0400 (EDT)

You need to first create the file with data on the disk then use Import:

(* First create path to a file on disk *)
myFile = ToFileName["C:", "justonc.dat"];

(* set up some data in table format *)
myData = {{1, 2, 3, 4}, {5, 6, 7, 8}};

(* send data to path of myFile *)
Export[myFile, myData]

(* retrieve data from path in Table format *)
gotData = Import[myFile, "Table"]


  • Prev by Date: Re: Intensive numerical calculations
  • Next by Date: Re: rotation angles from rotation matrix
  • Previous by thread: RE: reading from file
  • Next by thread: Re: reading from file