comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Import data in IDL from other source
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Import data in IDL from other source [message #85917] Wed, 18 September 2013 04:25 Go to next message
fd_luni is currently offline  fd_luni
Messages: 66
Registered: January 2013
Member
Hi

I was wondering how can I import data from a Microsoft word document into IDL in a mtrix form?

I.e. I want to create a matrix whose elements are from a word document. I have the elements of matrix A in a word document (1 column, 200 elements) and I want to import them in IDL.

Many Thanks
Mar
Re: Import data in IDL from other source [message #85923 is a reply to message #85917] Wed, 18 September 2013 07:15 Go to previous message
Andy Sayer is currently offline  Andy Sayer
Messages: 127
Registered: February 2009
Senior Member
If this is a one-off thing, I would copy-paste to e.g. Excel and save as comma-separated text. Then you can read that (openr, readf, etc): http://www.exelisvis.com/docs/READ.html

If this is something you'll need to do a lot (i.e. inefficient to manually convert to CSV each time), I am not sure, guess you would need to find out the MS Word file format somehow?

Andy

On Wednesday, September 18, 2013 7:25:00 AM UTC-4, fd_...@mail.com wrote:
> Hi
>
>
>
> I was wondering how can I import data from a Microsoft word document into IDL in a mtrix form?
>
>
>
> I.e. I want to create a matrix whose elements are from a word document. I have the elements of matrix A in a word document (1 column, 200 elements) and I want to import them in IDL.
>
>
>
> Many Thanks
>
> Mar
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: defining structure after ascii template
Next Topic: Amazingly accurate UTM <-> Lat/Lon transformations

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 11:37:10 PDT 2025

Total time taken to generate the page: 0.00526 seconds