MATLAB line continuation within string

前端 未结 3 724
一整个雨季
一整个雨季 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:23

    You can use strcat or horzcat, which gives you somewhat more options than [], including the ability to mix in variables along with the hardcoded values.

提交回复
热议问题