Is it possible to do web scraping with MatLab?

110 ビュー (過去 30 日間)
Luis Santiago Hernández Castillo
Luis Santiago Hernández Castillo 2022 年 8 月 1 日
回答済み: Nithin Kumar 2023 年 6 月 6 日
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.

カテゴリ

Help Center および File ExchangeWeb Services についてさらに検索

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by