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

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.

댓글을 달려면 로그인하십시오.

답변 (0개)

제품

태그

질문:

2017년 12월 15일

댓글:

2017년 12월 15일

Community Treasure Hunt

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

Start Hunting!

Translated by