DocMaker is a tool for generating MATLAB toolbox documentation.
With DocMaker, you can:
- write documentation in Markdown and convert to HTML for viewing in MATLAB
- run MATLAB code blocks in documents and include textual and graphical output
- create MATLAB documentation index files from a Markdown table of contents
DocMaker requires MATLAB R2021a or later to generate documentation. Documentation generated by DocMaker can be viewed in much older releases of MATLAB, and offline.
DocMaker ships with documentation that you can browse online, including:
- a getting started guide including system requirements, installation instructions, and examples
- a function reference for
docconvert,docrun,docindex, anddocdelete - release notes detailing new features, bug fixes, and compatibility considerations for each version
The repository contains a top-level MATLAB project. Developers should follow the user setup instructions by generating a GitHub access token and registering the token with MATLAB.
Development requires the MATLAB Build Tool which was introduced in MATLAB R2022b. Tasks are provided to:
check: identify code issuestest: run unit testsdoc: generate documentationpackage: package as a MATLAB Toolbox file (.mltbx)clean: delete derived artifacts
DocMaker is developed by David Sampson at MathWorks.
DocMaker uses the GitHub Markdown API at github.com, and the GitHub Markdown CSS by Sindre Sorhus.
The author thanks Ken Deeley from MathWorks for his support during the development of DocMaker.
©️ MathWorks 2024-2026