How to access a website, fill up username and password, click in submit and get the html code of the page loaded?
2 次查看(过去 30 天)
显示 更早的评论
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.
0 个评论
回答(1 个)
Jan
2018-3-12
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 个评论
Jan
2018-4-14
编辑:Jan
2018-4-14
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...
Ngoc Thanh Hung Bui
2018-4-15
No I mean the method using Matlab or Java that you didnt mention, not the FEX method
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Platform and License 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!