matlab与ie交互

clc
clear
ie=actxserver('internetexplorer.application');
ie.Navigate('网址');
while ~strcmp(ie.readystate,'READYSTATE_COMPLETE')
pause(.01)
end
loginname=ie.document.getElementById('输入用户名的LABEL的id');
loginname.value='用户名';
password=ie.document.getElementById('输入密码的LABEL的id'); 
password.value='密码';
submit=ie.document.getElementById('登录按钮的id');
submit.click;
delete(ie);

%小改一下,

ie=actxserver('internetexplorer.application');
ie.Navigate('mailto:[email protected]');
delete(ie);

猜你喜欢

转载自blog.csdn.net/weixin_44363881/article/details/105296071
IE