×

Notice

The forum is in read only mode.

Problem using Matlab 'webread' in opensky

5 years 7 months ago #738 by ryangroulx
I am using Matlab to retrieve data. The code below is what is have (filename is opensky.m) and it is returning the error below the code. opensky does generate the data when logging into the website and entering the URL directly in the browser. Any thoughts on what I am missing?

creds = matlab.net.http.Credentials('Username','myusername','Password','mypassword');
opts = matlab.net.http.HTTPOptions('Credentials',creds);
M = webread('opensky-network.org/api/states/all','lam...',48,'lomax',11,opts);


Error using webread (line 119)
Each queryName must be given a corresponding queryValue.

Error in opensky (line 14)
M = webread('opensky-network.org/api/states/all','lam...',48,'lomax',11,opts);
Powered by Kunena Forum
This website uses cookies to offer you the best experience of our services. By using this website you agree to our privacy policy!