Breaking a long line of code into two.

11 ビュー (過去 30 日間)
Sarath S
Sarath S 2019 年 11 月 9 日
コメント済み: Ajay Kumar 2019 年 11 月 12 日
I was trying to split the following line of code into two.
uiwait(msgbox(sprintf('Decryption complete!\n\nRetreived image has been saved to disk\n\nOutput File Name: ''Hidden_Image.png'''),'modal'));
I tried using the ellipsis operator (...) to do this, but I can't get it to work properly. Please help. Thanks

採用された回答

Ajay Kumar
Ajay Kumar 2019 年 11 月 9 日
編集済み: Ajay Kumar 2019 年 11 月 9 日
uiwait(msgbox(sprintf(['Decryption complete!\n\nRetreived image has ',...
'been saved to disk\n\nOutput File Name: ''Hidden_Image.png''']),'modal'));
  3 件のコメント
Sarath S
Sarath S 2019 年 11 月 12 日
Thanks a lot!
Ajay Kumar
Ajay Kumar 2019 年 11 月 12 日
Pleasure :)

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

その他の回答 (0 件)

製品


リリース

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by