Society of Robots  Robot Forum
Software => Software => Topic started 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

What do you mean simultaneously?

i have one matrix and i want to write that matrix into 1 text file...

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 ;)