docu - separate documentation browser tabs
Version 1.0.0.1 (4.74 KB) by
Andres
Keep your browser tabs tidy with R2024b: open documentation in a separate browser profile.
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
(yyzoom is from https://www.mathworks.com/matlabcentral/fileexchange/102945-yyaxis-tools-yyzoom-yytick-yyaxtoolbar)
% [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(...)
Cite As
Andres (2025). docu - separate documentation browser tabs (https://www.mathworks.com/matlabcentral/fileexchange/176358-docu-separate-documentation-browser-tabs), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2024b
Compatible with R2024b and later releases
Platform Compatibility
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.