How can I open an url into matlab browser?

35 views (last 30 days)
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
  2 Comments

Sign in to comment.

Accepted Answer

Jiri Hajek
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
Jiri Hajek
Jiri Hajek on 9 Nov 2022
OK, please accept the answer, if you agree...

Sign in to comment.

More Answers (1)

Khushboo
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:
  1. To use the MATLAB browser as the default browser for external sites, go to the Home tab.
  2. In the Environment section, click Preferences.
  3. Select MATLAB > Web and in the System Web browser section, clear the Use system web browser when opening links to external sites.
More details regarding this can be found here.
Hope this helps!
  6 Comments
Duncan Carlsmith
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!

Sign in to comment.

Tags

Community Treasure Hunt

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

Start Hunting!