How can I stop printing both CR and LF when using 'help' function?

6 ビュー (過去 30 日間)
Lewis
Lewis 2020 年 2 月 11 日
回答済み: Image Analyst 2022 年 7 月 30 日
Hi all,
For some reason since I starting using 2019b, 'help' for all my own functions will print in double-line spacing to the command window! It never used to do this. I thought Windows natively used CRLF rather than just LF as a line ending, in my experience anyway MATLAB editor always has and still does use CRLF as a line end. I've checked with another file that only had LF as the line endings and it prints fine using help.
Obviously this is annoying, has anyone else experienced this? Or know an easy work around? I don't want to change all my code to just LFs.
Thanks in advance,
Lewis

回答 (1 件)

Image Analyst
Image Analyst 2022 年 7 月 30 日
Maybe try
format compact
in the command window.

カテゴリ

Help Center および File ExchangeGet Started with MATLAB についてさらに検索

製品


リリース

R2019b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by