interacting with websites from Matlab

Is it possible to enter data into forms on a website, click "send", and retrieve resulting data, all from a Matlab script? Specifically, I'd like to enter hex color values into this site, and get the values it returns.

回答(2 个)

Use the 'post' or 'get' method inside or urlread
Lautaro Parada
Lautaro Parada 2019-7-26
编辑:Lautaro Parada 2019-7-26
A more recent verion is related to the HTTP Interface of matlab. This interface provides functionality to issue properly structured HTTP requests and process their responses.

1 个评论

Could you write a solution using the HTTP Interface? I am struggling to use them to do something similar with another website.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 MATLAB 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by