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:1234567@fzu.edu.cn');
delete(ie);