webread.m -- Too many input arguments
显示 更早的评论
I am using MATLAB 2016B.
I have a webpage which I want to download the data from.
url = 'https://openfigi.com/search#!?search=CUSTOM&pageSize=100&page=1&filters=EXCH_CODE:..cme&simpleSearchString=S%26P500%20EMINI%20OPTN';
data = webread(url);
When i run this I get:
Error using webread (line 116)
Too many input arguments.
When I try
data = urlread(url);
The function clearly works as it's supposed to, however the response does not contain the data of interest.
Please can someone help me return the table data using matlab. thanks
回答(2 个)
Sean de Wolski
2016-10-18
编辑:Sean de Wolski
2016-10-18
0 个投票
What you have for webread works fine for me in R2016b, Win7x64.
My guess is you're shadowing one of the functions that webread is calling.
1 个评论
itsupport
2016-10-20
0 个投票
1 个评论
stephan bohacek
2017-1-18
I have the exact same problem (same error message). But urlread works fine.
类别
在 帮助中心 和 File Exchange 中查找有关 JSON Format 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!