Need to read and write Excel files

1,615 views
Skip to first unread message

Kelly

unread,
Feb 12, 2011, 1:09:27 PM2/12/11
to freemat-devel
I have some code in Matlab that could be executed under freemat if it
could read and write to Excel. I don't have the back ground to write
the code to do this. Has anyone looked at this idea and how it could
be implemented?

Timothy Cyders

unread,
Feb 12, 2011, 1:35:50 PM2/12/11
to freema...@googlegroups.com
What specific functionality do you need in what is written to Excel? You can import data into Excel via 'csvwrite' in FreeMat, and read it in using either 'csvread' or 'dlmread'. Would it be enough for you to simply import/export data, or do you need more functionality than that?

TJ


--
You received this message because you are subscribed to the Google Groups "freemat-devel" group.
To post to this group, send email to freema...@googlegroups.com.
To unsubscribe from this group, send email to freemat-deve...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/freemat-devel?hl=en.


louis

unread,
Feb 13, 2011, 6:07:20 PM2/13/11
to freemat-devel
A=rand(3);
csvwrite('test',A); % to write the 3x3 random matrix
B = csvread('test'); % to read it back
sum(sum(A-B)) % they are the same if 0

Casey Gierke

unread,
May 24, 2013, 5:25:20 PM5/24/13
to freema...@googlegroups.com
Hello,

I am just learning some FreeMat and am comparing it to Matlab.  I used Matlab in school and now need some alternative to do what Matlab used to do for me. 

Anyways, you seem to know about importing files in FreeMat.  I tried the load function and it seems to have a maximum size it will load of 1537 rows.  Do you know anything about that?  I need something to deal with larger files than that so if there is a work around or I will need to seek an alternative program. 

Thanks a lot for any help

Casey
Reply all
Reply to author
Forward
0 new messages