Is it possible to do web scraping with MatLab?

109 vues (au cours des 30 derniers jours)
Luis Santiago Hernández Castillo
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 =)

Réponses (1)

Nithin Kumar
Nithin Kumar le 6 Juin 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.

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by