Is it possible to do web scraping with MatLab?

108 次查看(过去 30 天)
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 =)

回答(1 个)

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

产品


版本

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by