how to set the browser of webread function?

조회 수: 4 (최근 30일)
Jiaxing Lei
Jiaxing Lei 2025년 1월 25일
편집: Torsten 2025년 1월 25일
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?

답변 (1개)

埃博拉酱
埃博拉酱 2025년 1월 25일
편집: Torsten 2025년 1월 25일
一般来说是标头问题。你可以打开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.

카테고리

Help CenterFile Exchange에서 MATLAB Report Generator에 대해 자세히 알아보기

제품


릴리스

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by