Breaking a long line of code into two.

15 vues (au cours des 30 derniers jours)
Sarath S
Sarath S le 9 Nov 2019
Commenté : Ajay Kumar le 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

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
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)

Catégories

En savoir plus sur Get Started with MATLAB dans Help Center et File Exchange

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by