output file text creation text wrap around
Show older comments
when creating text files in MATLAB is there a good way to deal with the "wrap around" ? I am exporting a list (1 - 512) and I am attempting to print the doc in a landscape format but the document keeps wrapping around. Is there a way to plan for this in the code?
Thanks
1 Comment
Walter Roberson
on 28 Jan 2013
Could you explain further what you mean by "wrap around" ?
Answers (3)
Jan
on 28 Jan 2013
0 votes
The document does not perform any wrapping of the lines. This is a feature of the editor you open the text in and it can be controlled there. E.g. in the Windows Editor the wrapping cannot be disabled, in Wordpad you can decide for a mode, and Matlab's editor does not wrap the lines.
I do not understand, what a "list (1 - 512)" is. Do you want to insert a line break in the text after a certain column?
William
on 28 Jan 2013
0 votes
Chad Greene
on 23 Sep 2015
0 votes
wraptext may do the trick.
Categories
Find more on Entering Commands in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!