How can I open an url into matlab browser?
35 views (last 30 days)
Show older comments
Hi all,
I have this code:
[stat, h] = web('https://www.cambriafunds.com/tail-holdings','-new');
By default, Matlab opens the url into Chrome browser. However, I need to open it into Matlab browser. How can I do it? Many thanks!
Regards
Accepted Answer
Jiri Hajek
on 9 Nov 2022
That will not be possible according to the documentation ... (cit: "If url is an external site, then the page opens in your system browser. ")...
5 Comments
More Answers (1)
Khushboo
on 9 Nov 2022
Edited: Khushboo
on 9 Nov 2022
Hello,
I think you will have to set the MATLAB Browser as the default browser instead of chrome which can be done using the following steps:
- To use the MATLAB browser as the default browser for external sites, go to the Home tab.
- In the Environment section, click Preferences.
- Select MATLAB > Web and in the System Web browser section, clear the Use system web browser when opening links to external sites.
Hope this helps!
6 Comments
Duncan Carlsmith
on 23 Apr 2023
I have this problem too - no system web browser option in preferences. I am running 2023a on a Mac M1 Chip machine. MATLAB uses my system browser exclusively and I am unable to use the MATLAB browser and need the MATLAB browser to remember credentials in accessing a website with authentication. I vaguely remember being unable to use the system browser and found some tweak command to set the browser permanently to the system browser disabling the MATLAB browser but I can't find the documentation and see nothing relevant in my startup.m. Help appreciated!
See Also
Categories
Find more on Create Model Web Views in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!