Clear Filters
Clear Filters

Using system web browser instead of MATLAB Web browser

19 views (last 30 days)
The documentation specifies that one can use the system's web browser when opening external links (see "Web Browsers and MATLAB"). How do you specify that this browser is to be used for all browsing needs (ie not just for external links)?
The obvious use case is to provide a seamless experience when following links. Our is based on the observation that our Linux systems that MATLAB might allow for printing from the plot view, and using the print command, but not when using the MATLAB Web Browser. The latter is used eg when the user presses 'Publish' to show plots and the code generating the plot (and wants to print immediately, rather than opening the HTML files in a separate browser).

Accepted Answer

Biral Pradhan
Biral Pradhan on 1 Sep 2022
Edited: Biral Pradhan on 1 Sep 2022
I understand you want to open your published html files in your system web browser instead of the MATLAB web browser. I would recommend using the "web" command with '-browser' flag to achieve this. For more information, kindly follow the below documentation link.
Currently, there is no option to set the system web browser for all web applications within MATLAB.
  1 Comment
Anders
Anders on 1 Sep 2022
Edited: Anders on 1 Sep 2022
Currently, there is no option to set the system web browser for all web applications within MATLAB.
OK - thanks. This is what I was asking about.
I see that at least some parts of Matlab allow specific settings (such as eg the report generator). Do you know if there is such a seting for the Publish function (or button)?

Sign in to comment.

More Answers (0)

Categories

Find more on Startup and Shutdown in Help Center and File Exchange

Products


Release

R2022a

Community Treasure Hunt

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

Start Hunting!