Web 访问
MATLAB® RESTful Web 服务函数 webread
、websave
、webwrite
和 weboptions
允许非编程人员使用 HTTP GET 和 POST 方法访问多个 Web 服务。但是,与 Web 服务的有些交互更为复杂,RESTful Web 服务函数并不支持进行此类交互所需的功能。这种情况下需要使用 HTTP 接口 类来编写自定义的 Web 访问应用程序。
函数
主题
- 从 Web 服务下载数据
从 RESTful Web 服务下载数据并将其转换为 MATLAB 变量。
- Web 浏览器和 MATLAB
在 MATLAB 中,用户可以使用多个不同浏览器显示网站和文档。
- Web 预设项
您可以通过 Web 预设项,为 MATLAB 指定 Internet 连接信息。
- 发送电子邮件
要从 MATLAB 发送电子邮件,请使用
sendmail
函数。也可以将文件附加到电子邮件,从而直接从 MATLAB 以邮件形式发送文件。要使用sendmail
,请用setpref
函数设置电子邮件地址和 SMTP 服务器信息。 - Perform FTP File Operations
Connect to an FTP server and perform remote operations such as downloading and uploading files, creating and deleting folders, and listing contents on the server.
- Display Hyperlinks in the Command Window
When you create a hyperlink to a Web page, append a full hypertext address on a single line as input to the
disp
orfprintf
command.