websave error : "Struct contents reference from a non-struct array object."

I try to use the websave function to save a figure from a web. Even I tried to use the function with the example which is in the help menu, I got the same error as "Struct contents reference from a non-struct array object."
The example was :
url = 'http://heritage.stsci.edu/2007/14/images/p0714aa.jpg';
filename = 'jupiter_aurora.jpg';
outfilename = websave(filename,url)
--------------------------------- I got this error ----------------
Error using websave (line 95)
Struct contents reference from a non-struct array object.
-----------------------------------------------------------
Could you help me out, please?

2 comentarios

Which MATLAB version are you using?
Those lines of code appear to work properly for me in R2017b.
Thank you, Walter. I used R2017b ver and can't find any reasons thus I reinstalled this version. Since that, it works again. Thanks again.

Iniciar sesión para comentar.

Respuestas (0)

Productos

Etiquetas

Preguntada:

el 15 de Dic. de 2017

Comentada:

el 15 de Dic. de 2017

Community Treasure Hunt

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

Start Hunting!

Translated by