docu - separate documentation browser tabs

Keep your browser tabs tidy with R2024b: open documentation in a separate browser profile.

Sie verfolgen jetzt diese Einreichung

docu is a replacement for doc with some added features I miss in R2024b.
It works much like the built-in doc command, except that the help page opens in a preselected browser profile and thus in a separate browser window. Instructions how to set up the browser profile are included. (R2024b's doc invariably uses the default system browser on Windows.)
docu is designed to work as well with documentation that is installed locally.
Adding a theme to your Matlab browser profile, like the light blue one in the image above, helps you to get back to your Matlab documentation quickly.
Beyond that, docu allows you to directly access user-generated html help and web pages in the same browser profile.
Note you have to adapt the code of docu.m to your system before you use it first. Example code is provided.
Examples:
% [Browser] -> docu opens html page in separate browser profile
% [Helpwin] -> docu opens help text in Matlab help window
% [Browser] help for a built-in Matlab function
docu toc
% [Helpwin] user-generated help text
docu yyzoom
% [Helpwin] display tb\Contents.m from a toolbox tb
% when there is no html file tb\html\tb.html
docu codetools
% [Browser] user-generated html help
docu -h yyzoom
% [Browser] (any) web page
docu -w https://www.mathworks.com/matlabcentral/fileexchange/106725-fourier-analysis
% [Browser] local doc page (if documentation is installed locally)
docu('-w', fullfile(docroot,'matlab/matlab_prog/add-help-for-your-program.html'))
% use "Share" button on page to get fullfile(...)

Zitieren als

Andres (2026). docu - separate documentation browser tabs (https://de.mathworks.com/matlabcentral/fileexchange/176358-docu-separate-documentation-browser-tabs), MATLAB Central File Exchange. Abgerufen .

Allgemeine Informationen

Kompatibilität der MATLAB-Version

  • Kompatibel mit R2024b und späteren Versionen

Plattform-Kompatibilität

  • Windows
  • macOS
  • Linux
Version Veröffentlicht Versionshinweise Action
1.0.0.1

corrected typo and added examples in description text

1.0.0