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(...)
引用格式
Andres (2025). docu - separate documentation browser tabs (https://www.mathworks.com/matlabcentral/fileexchange/176358-docu-separate-documentation-browser-tabs), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2024b
与 R2024b 及更高版本兼容
平台兼容性
Windows macOS Linux标签
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!