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
2017-12-15
Which MATLAB version are you using?
Those lines of code appear to work properly for me in R2017b.
scally12
2017-12-15
回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 Web Services 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!