websave error : "Struct contents reference from a non-struct array object."
Show older comments
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 Comments
Walter Roberson
on 15 Dec 2017
Which MATLAB version are you using?
Those lines of code appear to work properly for me in R2017b.
scally12
on 15 Dec 2017
Answers (0)
Categories
Find more on Web Services in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!