I have an excel document with a word in each cell in a column. I have to enter each cells contents into a search engine on a website and document if a certain result is returned. How can I do this with matlab?

1 view (last 30 days)
I am trying to use urlread() and urlwrite() but I have not used Matlab in some time and am a bit rusty. Any advice is greatly appreciated because I have over 1000 cells to do this for. Thanks.
  3 Comments
Cedric
Cedric on 11 Jun 2014
Edited: Cedric on 12 Jun 2014
A few hints:
  • doc xlsread
  • doc urlread
  • urlfilter mentioned by Per
  • doc regexp if urlfilter not suitable
  • doc sprintf
Also, when I look up for "Hello World" in e.g. Bing, the URL becomes
http://www.bing.com/search?q=hello+world&qs=n&form=QBLH&pq=hello+world&sc=8-0&sp=-1&sk=&cvid=0bb761bc955944d992693026731aa996
after I click on search. Interestingly, when I copy-paste the first part
http://www.bing.com/search?q=hello+world
in the address bar of my browser, it works too, and I can find words which appear on the page in the source code of the page..

Sign in to comment.

Answers (0)

Categories

Find more on Get Started with MATLAB 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!