How can I open an url into matlab browser?

37 vues (au cours des 30 derniers jours)
Adriano le 7 Nov 2022
Hi all,
I have this code:
[stat, h] = web('','-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!
  2 commentaires
Adriano le 8 Nov 2022
Of course Matlab has a browser

Connectez-vous pour commenter.

Réponse acceptée

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

Connectez-vous pour commenter.

Plus de réponses (1)

Khushboo le 9 Nov 2022
Modifié(e) : Khushboo le 9 Nov 2022
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 commentaires
Duncan Carlsmith
Duncan Carlsmith le 23 Avr 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!

Connectez-vous pour commenter.


En savoir plus sur Create Model Web Views dans Help Center et File Exchange


Community Treasure Hunt

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

Start Hunting!

Translated by