webread retrieves source but I need the data in the webpage
Show older comments
I try to run a loop that'd give me GO annotations from a site, but when using webread to access the url:
url= 'https://www.ebi.ac.uk/QuickGO/annotations?geneProductId=A0A3G9FS89';
o = weboptions('CertificateFilename','');
go_annotation = webread(url,o)
I get only the view-source of the page, which doesn't include my desired GO data.
I noticed that the view-source doesn't change at all if the part after 'QuickGO' is truncated - meaning it has nothing to do with my specific gene name A0A3G9FS89.
what can be done to make matlab retrieve the actual data on a specific url?
Thanks in advance,
Chaim.
Answers (1)
Prince Kumar
on 19 Jan 2022
0 votes
Hi,
Please refer the following MATLAB answers
- https://www.mathworks.com/matlabcentral/answers/451874-how-to-download-data-from-website
- https://www.mathworks.com/matlabcentral/answers/53898-can-matlab-download-files-from-a-website
I hope you find the above information useful.
1 Comment
chaim giladi
on 30 Jan 2022
Categories
Find more on Startup and Shutdown 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!