how to set the browser of webread function?

4 vues (au cours des 30 derniers jours)
Jiaxing Lei
Jiaxing Lei le 25 Jan 2025
Modifié(e) : Torsten le 25 Jan 2025
Hi Matlab,
I plan to use webread to get the data from a website. I can open the website in Chrome, yet I get the message "The currently used browser has security risks". It seems the website prevents the default matlab browser to read the data. Is it possible to change the browser used by webread to Chrome?

Réponses (1)

埃博拉酱
埃博拉酱 le 25 Jan 2025
Modifié(e) : Torsten le 25 Jan 2025
一般来说是标头问题。你可以打开Chrome的开发人员工具看下请求的标头是什么,然后用weboptions设置同样的标头。
Generally it's a header issue. You can open Chrome's developer tools to see what the request headers are, and then set the same headers using weboptions.

Catégories

En savoir plus sur MATLAB Report Generator dans Help Center et File Exchange

Produits


Version

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by