urlread will make an HTTP request to any URL and return the results as a char array.
For instance:
>> s = urlread('http://www.mathworks.com');
>> whos s
Name Size Bytes Class Attributes
s 1x23346 46692 char
Depending on what you want to extract as a variable, you may have to continue processing the result using functions such as regexpand str2double.
source
share