Breaking a long line of code into two.

21 visualizzazioni (ultimi 30 giorni)
Sarath S
Sarath S il 9 Nov 2019
Commentato: Ajay Kumar il 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

Risposta accettata

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

Più risposte (0)

Categorie

Scopri di più su Get Started with MATLAB in Help Center e File Exchange

Prodotti


Release

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by