how to set the browser of webread function?

4 visualizaciones (últimos 30 días)
Jiaxing Lei
Jiaxing Lei el 25 de En. de 2025
Editada: Torsten el 25 de En. de 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?

Respuestas (1)

埃博拉酱
埃博拉酱 el 25 de En. de 2025
Editada: Torsten el 25 de En. de 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.

Categorías

Más información sobre MATLAB Report Generator en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2024a

Community Treasure Hunt

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

Start Hunting!

Translated by