Breaking a long line of code into two.

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

 Réponse acceptée

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

3 commentaires

darova
darova le 9 Nov 2019
It works
Sarath S
Sarath S le 12 Nov 2019
Thanks a lot!
Ajay Kumar
Ajay Kumar le 12 Nov 2019
Pleasure :)

Connectez-vous pour commenter.

Plus de réponses (0)

Produits

Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by