MATLAB line continuation within string

前端 未结 3 756
一整个雨季
一整个雨季 2020-12-17 15:29

In MATLAB, ... is used to continue a line to the next line. But if I want to continue a long string within quotation, what can I do? ... will be tr

3条回答
  •  醉酒成梦
    2020-12-17 16:04

    answer=['You can divide strings '...
        ,'by adding a comma '... 
        ,'(as you probably know one year later).'];
    

提交回复
热议问题