Breaking a long line of code into two.

32 views (last 30 days)
Sarath S
Sarath S on 9 Nov 2019
Commented: Ajay Kumar on 12 Nov 2019
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

Accepted Answer

Ajay Kumar
Ajay Kumar on 9 Nov 2019
Edited: Ajay Kumar on 9 Nov 2019
uiwait(msgbox(sprintf(['Decryption complete!\n\nRetreived image has ',...
'been saved to disk\n\nOutput File Name: ''Hidden_Image.png''']),'modal'));

More Answers (0)

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by