how to set the browser of webread function?

1 view (last 30 days)
Jiaxing Lei
Jiaxing Lei on 25 Jan 2025
Edited: Torsten on 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?

Answers (1)

埃博拉酱
埃博拉酱 on 25 Jan 2025
Edited: Torsten on 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.

Categories

Find more on MATLAB Report Generator in Help Center and File Exchange

Products


Release

R2024a

Community Treasure Hunt

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

Start Hunting!