I have a question i dont really understand for what we use postStr += "\r\n\r\n"
Can anybody explain?
thanks

 採用された回答

Star Strider
Star Strider 2020 年 10 月 12 日

0 投票

It appears to be an instruction to terminate a read or write format string of some sort with a string of 2 carriage returns (the ‘\r’) alternating with newline (the ‘\n’) characters.

7 件のコメント

Laura Gautschi
Laura Gautschi 2020 年 10 月 13 日
So do i understand it correct: its just a format thing ?
Rik
Rik 2020 年 10 月 13 日
Very likely, yes.
It isn't valid Matlab syntax. I believe Octave will allow this, although I didn't check.
Star Strider
Star Strider 2020 年 10 月 13 日
Rik — Thank you!
Laura Gautschi
Laura Gautschi 2020 年 10 月 13 日
Thank you guys very much!
Star Strider
Star Strider 2020 年 10 月 13 日
As always, our pleasure!
Abhishek Biswas
Abhishek Biswas 2021 年 5 月 13 日
thanks
Star Strider
Star Strider 2021 年 5 月 13 日
My pleasure!

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Execution Speed についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by