Breaking a long line of code into two.

조회 수: 8 (최근 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