lundi 5 février 2018

How can I open a website which requires a username and a password? [on hold]

In MATLAB, we can open a website using web(url).

But if that website requires our user name and password (like Facebook or Gmail), what needs to be done to open it?

I tried this, but it's not working:

url = 'myurl.com';
options = {'Username', 'myUsername', 'Password', 'myPassword', 'Timeout', 10}; 
z = webwrite(url, options);




Aucun commentaire:

Enregistrer un commentaire