How to access a website, fill up username and password, click in submit and get the html code of the page loaded?

2 views (last 30 days)
Hi all,
I need to access a website through matlab code, fill up username and password fields, click on the submit button and then get some info present in the home page of the website. I have tried urlread, urlwrite, weboptions, webread, webwrite and some java code but none of them worked. I do not care to the method (java, curl, matlab, etc), just need this to work.

Answers (1)

Jan
Jan on 12 Mar 2018
You can start an external browser and use FEX: keyinject to emulate typing. Finally use Ctrl-S for saving.
This is ugly, but you explained not to care about the method...
  3 Comments
Jan
Jan on 14 Apr 2018
Edited: Jan on 14 Apr 2018
You can start an external browser and use FEX: keyinject to emulate typing. Finally use Ctrl-S for saving.
This is ugly, but you explained not to care about the method...

Sign in to comment.

Categories

Find more on Platform and License 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!