| MATLAB Central > MATLAB Newsreader > write string to file |
|
|
|
I want to read a series of strings under each other in a txt file. |
|
On 12 Nov, 12:58, "Jos " <jappedane...@mathworks.com> wrote: |
|
But I don't want to write numbers to the file, I want to write text (either it being strings or characters). |
|
I don't want to put numbers in the textfile, I only want to put text in there. Thats why I put read each line (from the cell array) using this: |
|
Subject: write string to file From: Shanmugam Kannappan Date: 12 Nov, 2009 13:25:04 Message: 5 of 11 |
|
"Jos " <jappedaneels@mathworks.com> wrote in message <hdh17p$o29$1@fred.mathworks.com>... |
|
This seems to work, thx! Only problem is that this prints everything on one line. After each string, it puts again a square. I guess this is where the enters (new line) are supposed to be. Is there any way to overcome this (so really place the enters instead of those stupid squares :p)? |
|
>I want to read a series of strings under each other in a txt file. |
|
|
|
"Leslie McBrayer" <lmcbrayer@mathworks.com> wrote in message <hdh3ld$pjn$1@fred.mathworks.com>... |
|
|
|
Steven Lord wrote: |
A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.
Anyone can tag a thread. Tags are public and visible to everyone.
Contact us at files@mathworks.com
