2

Author Topic: how to write in a text file using matlab  (Read 1768 times)

0 Members and 1 Guest are viewing this topic.

Offline karmaxTopic starter

  • Full Member
  • ***
  • Posts: 113
  • Helpful? 0
how to write in a text file using matlab
« 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

Offline chelmi

  • Supreme Robot
  • *****
  • Posts: 496
  • Helpful? 15
Re: how to write in a text file using matlab
« Reply #1 on: October 15, 2009, 02:08:39 PM »
What do you mean simultaneously?

Offline karmaxTopic starter

  • Full Member
  • ***
  • Posts: 113
  • Helpful? 0
Re: how to write in a text file using matlab
« Reply #2 on: October 18, 2009, 11:34:37 AM »
i have one matrix and i want to write that matrix into 1 text file...

Offline awally88

  • Robot Overlord
  • ****
  • Posts: 212
  • Helpful? 0
Re: how to write in a text file using matlab
« Reply #3 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


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


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


 


Get Your Ad Here