Is it possible to do web scraping with MatLab?

109 views (last 30 days)
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 =)

Answers (1)

Nithin Kumar
Nithin Kumar on 6 Jun 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.

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!