webread.m -- Too many input arguments
2 views (last 30 days)
Show older comments
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
0 Comments
Answers (2)
Sean de Wolski
on 18 Oct 2016
Edited: Sean de Wolski
on 18 Oct 2016
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 Comment
itsupport
on 20 Oct 2016
1 Comment
stephan bohacek
on 18 Jan 2017
I have the exact same problem (same error message). But urlread works fine.
See Also
Categories
Find more on Web Services in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!