Is it possible to retrieve data from a website?

1 回表示 (過去 30 日間)
Louise Wilson
Louise Wilson 2021 年 5 月 21 日
回答済み: Shanmuganathan 2022 年 11 月 23 日
I have a list of vessel MMSI numbers. I would like to take each, enter it into the search bar on this page 'https://www.vesselfinder.com/' and then store the associated vessel type and length. Would this be possible using Matlab?
I had a look here:https://au.mathworks.com/help/matlab/ref/webread.html
But there doesn't seem to be a solution for my problem there.
  1 件のコメント
Rik
Rik 2021 年 5 月 21 日
The webread function can't be used to interact with a website. However, it is often possible to use direct URLs. If you look at a Google search, you will also notice that there is a pattern you could generate the link with.
Did you use the debugging tools of your browser to try to find a direct link pattern?

サインインしてコメントする。

回答 (1 件)

Shanmuganathan
Shanmuganathan 2022 年 11 月 23 日
Hi Louise,
I understand you want to interact with a website to input your data.
Please find below the documentation about HTTP interface for MATLAB:
You can refer to the above documentation for various "put" and "get" methods that use the HTTP protocol. I hope this information helps resolve your query.
Regards,
Shanmuganathan

カテゴリ

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

タグ

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by