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 件のコメント

Walter Roberson
Walter Roberson 2017 年 12 月 15 日
Which MATLAB version are you using?
Those lines of code appear to work properly for me in R2017b.
scally12
scally12 2017 年 12 月 15 日
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