Breaking a long line of code into two.

12 visualizaciones (últimos 30 días)
Sarath S
Sarath S el 9 de Nov. de 2019
Comentada: Ajay Kumar el 12 de Nov. de 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

Respuesta aceptada

Ajay Kumar
Ajay Kumar el 9 de Nov. de 2019
Editada: Ajay Kumar el 9 de Nov. de 2019
uiwait(msgbox(sprintf(['Decryption complete!\n\nRetreived image has ',...
'been saved to disk\n\nOutput File Name: ''Hidden_Image.png''']),'modal'));
  3 comentarios
Sarath S
Sarath S el 12 de Nov. de 2019
Thanks a lot!
Ajay Kumar
Ajay Kumar el 12 de Nov. de 2019
Pleasure :)

Iniciar sesión para comentar.

Más respuestas (0)

Productos


Versión

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by