webread retrieves source but I need the data in the webpage

3 views (last 30 days)
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
Prince Kumar on 19 Jan 2022
Hi,
You can do it using "webread" function itself.
Please refer the following MATLAB answers
I hope you find the above information useful.

Categories

Find more on Programming in Help Center and File Exchange

Tags

Products


Release

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!