Society of Robots - Robot Forum

Software => Software => Topic started by: karmax on October 15, 2009, 01:45:56 PM

Title: how to write in a text file using matlab
Post by: karmax on October 15, 2009, 01:45:56 PM
hi... i have one 10X10 matrix and i want to write its first 10 element to 1 text file and next ten to other simultaneously... hw can i do this
any help will be appreciated
Title: Re: how to write in a text file using matlab
Post by: chelmi on October 15, 2009, 02:08:39 PM
What do you mean simultaneously?
Title: Re: how to write in a text file using matlab
Post by: karmax on October 18, 2009, 11:34:37 AM
i have one matrix and i want to write that matrix into 1 text file...
Title: Re: how to write in a text file using matlab
Post by: awally88 on November 09, 2009, 12:00:08 AM

This was the first site in google for "matlab write to file"
https://www.courses.psu.edu/aersp/aersp309_r81/matlab/write_to_file.html (https://www.courses.psu.edu/aersp/aersp309_r81/matlab/write_to_file.html)


This from the matlab website about 3 down.
http://www.mathworks.com/access/helpdesk/help/techdoc/ref/fprintf.html (http://www.mathworks.com/access/helpdesk/help/techdoc/ref/fprintf.html)


Google is a pretty good tool and pretty easy to use too ;)