Have you tried specifying the username and API key to the urlread function by using the named “Username” and “Password” arguments, rather than encoding them in the URL? mathworks.com/help/matlab/ref/urlread.html
yes I tried that, actually with this solution the function just encodes the username and password in the end of the URL , like flightxml.flightaware.com/json/F … MY_API_KEY). This URL did not work in Chrome (it prompted me for username and password, after passing them I managed to get the data
I would be very surprised if they are internally appending the username/password to the end of the URL. Were you able to try my sample code from my prior post?
Writing it directly in Java would ultimately give you the most control, but may involve more complexity beyond just learning Java since you will also have to pass data between the Matlab APIs.