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.

답변 (1개)

Jan
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
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
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 CenterFile Exchange에서 Platform and License에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by