How to get a big string into the other line for visibility
1 次查看(过去 30 天)
显示 更早的评论
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 个评论
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Characters and Strings 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!