interacting with websites from Matlab

14 views (last 30 days)
Chad Greene
Chad Greene on 2 Apr 2014
Commented: Charles on 7 Dec 2024
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.

Answers (2)

Sean de Wolski
Sean de Wolski on 3 Apr 2014
Use the 'post' or 'get' method inside or urlread

Lautaro Parada
Lautaro Parada on 26 Jul 2019
Edited: Lautaro Parada on 26 Jul 2019
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 Comment
Charles
Charles on 7 Dec 2024
Could you write a solution using the HTTP Interface? I am struggling to use them to do something similar with another website.

Sign in to comment.

Community Treasure Hunt

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

Start Hunting!