MATLAB如何在GUI中链接到网页-web函数

  • Post author:
  • Post category:其他




web

在浏览器中打开网页或文件



语法

web
web(url)
web(url,opt)
web(url,opt1,...,optN)
stat = web(___)
[stat,h] = web(___)
[stat,h,url] = web(___)



应用:



在系统浏览器中打开网页

url = 'https://www.mathworks.com';
web(url,'-browser')



从系统浏览器发送电子邮件

email = 'myaddress@provider.ext';
url = ['mailto:',email];
web(url,'-browser')

打开HTML文件,获取浏览器句柄,控制关闭等其它功能,请查看帮助文件或

中文官网