美文网首页MATLAB程序员IT@程序员猿媛
MATLAB如何在GUI中链接到网页-web函数

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

作者: 欣欣0905 | 来源:发表于2019-04-29 15:39 被阅读0次

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文件,获取浏览器句柄,控制关闭等其它功能,请查看帮助文件或中文官网

相关文章

网友评论

    本文标题:MATLAB如何在GUI中链接到网页-web函数

    本文链接:https://www.haomeiwen.com/subject/stwynqtx.html