Quantcast
Channel: MATLAB Central Newsreader - tag:"urlread"
Viewing all articles
Browse latest Browse all 16

URLRead Website Integration

$
0
0
I'm fairly new to using MATLAB to query websites and obtain data from them so I'm prob going to need things spelled out as detailed and simply as possible.

I am trying to query the following website given certain input values and obtain the result after I hit submit on the page. http://www.cbs.dtu.dk/services/NetMHC/

This is my code to define my parameters as well as my get statement. However, when I do this, all I get back is the same html page in MATLAB. It does not submit my parameters to the website and generates a response.. Can anyone help?

params={'SEQPASTE','pept','master','1','slave0','HLA-A02:01','peplen','10','submit','Submit'}
[str,status]=urlread('http://www.cbs.dtu.dk/services/NetMHC/','Get',params)

Even though it would seem I passed all the values to the correct locations in the webpage, the function just returns the same page with what seems to be no edits in the html code? Am I missing something big here?

Thanks!

Viewing all articles
Browse latest Browse all 16

Trending Articles