Is it possible to do web scraping with MatLab?

111 visualizaciones (últimos 30 días)
Luis Santiago Hernández Castillo
Luis Santiago Hernández Castillo el 1 de Ag. de 2022
Respondida: Nithin Kumar el 6 de Jun. de 2023
I would like to get data from a web page, however, to display it I have to browse it, use filters and select time ranges, I can't just write a URL and get it on the screen. Can I simulate navigation within the website using MatLab?
Thnaks =)

Respuestas (1)

Nithin Kumar
Nithin Kumar el 6 de Jun. de 2023
Hi Luis,
Yes, MATLAB provides the functionality to connect to a website and extract data from it. This can be done using “websave” or “webread” function.
"Websave" function can be used to download the data and save it as a file, while "webread" function can be used to read the data directly into MATLAB as a character array.
For more information regarding “Websave” and “Webread” functions, kindly refer to the following documentation:
I hope it helps.

Etiquetas

Productos


Versión

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by