How to get a big string into the other line for visibility

1 回表示 (過去 30 日間)
Sandeep Nair
Sandeep Nair 2019 年 1 月 24 日
編集済み: Stephen23 2019 年 1 月 24 日
I have a big string which i would like to store it in a command but due to visibility issue i want to use ... command to come to next line.Could you please tell me how to do itt
For Example
My string is AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
I want to code something like
a='AAAAAAAAAAAAAAAAAAAAAAAAAAAAA...
AAAAAAAA'
But this gives an error message
Please note i dont want to use
a= ['AAAAAAAAAAAAAAAAAAAAAAAAAAAAA'...
'AAAAAAAAAAAA']; this command it gives the correct ans but it hamper with \n command if am using with fprintf
  1 件のコメント
Stephen23
Stephen23 2019 年 1 月 24 日
編集済み: Stephen23 2019 年 1 月 24 日
"...but it hamper with \n command if am using with fprintf "
What does that mean exactly? Please show an example of what you tried.

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

回答 (0 件)

カテゴリ

Help Center および File ExchangeString についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by