X
PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 26 Feb 2009 07:28 AM by  anon
Export variable to txt file
 4 Replies
Sort:
You are not authorized to post a reply.
Author Messages

anon



New Member


Posts:
New Member


--
26 Feb 2009 07:28 AM
    How can I export array variable to txt file, so excel can read it? Please Help!! Thanks

    Deleted User



    New Member


    Posts:
    New Member


    --
    04 Mar 2009 03:11 PM
    ;make some fake data data = indgen(25) + 10 ;open a file openw, lun, filename,/get_lun ;print to file for i = 0, n_elements(data) - 1 do printf, lun, data[i] ;close file and free file pointer free_lun, lun   of course, if you're brave, newer versions of IDL on windows can write excel files directly through an ActiveX control. Try searching the user code page for IDL64_Read_Excel11.zip (even though it says read excel i'm reasonably sure the write routines are in there too).      

    Deleted User



    New Member


    Posts:1
    New Member


    --
    30 Apr 2015 11:10 AM
    I know this is a very old post, but still extremely relevant. There are many forums with links to 'IDL64_Read_Excel11.zip' and it is nowhere to be found, including any related info. Where can I find this file or related info on how to read an excel file (converting to .csv isn't possible since it must be done in code). Thanks

    Zachary Norman



    Basic Member


    Posts:173
    Basic Member


    --
    30 Apr 2015 02:38 PM
    Hi Jeremy, Those code libraries are no longer available per new policies that we have here at Exelis VIS. They have actually been unavailable for a couple years. You may be able to find it somewhere else on the internet, but we are no longer allowed to distribute those code libraries anymore.

    Deleted User



    New Member


    Posts:81
    New Member


    --
    01 May 2015 07:19 PM
    For those who can utilize data written by IDL to a CSV file , you might look into the IDL routine "WRITE_CSV": http://www.exelisvis.com/docs/WRITE_C... See also the corresponding "READ_CSV" and "QUERY_CSV" routines.
    You are not authorized to post a reply.