{"id":17213,"date":"2026-01-30T13:57:53","date_gmt":"2026-01-30T18:57:53","guid":{"rendered":"https:\/\/blogs.mathworks.com\/pick\/?p=17213"},"modified":"2026-01-30T13:57:53","modified_gmt":"2026-01-30T18:57:53","slug":"matlab-docmaker-making-it-easier-to-create-documentation-for-your-matlab-toolbox","status":"publish","type":"post","link":"https:\/\/blogs.mathworks.com\/pick\/2026\/01\/30\/matlab-docmaker-making-it-easier-to-create-documentation-for-your-matlab-toolbox\/","title":{"rendered":"MATLAB DocMaker: making it easier to create documentation for your MATLAB toolbox"},"content":{"rendered":"<div class = rtcContent><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>Mike's pick this week is <\/span><a href = \"https:\/\/uk.mathworks.com\/matlabcentral\/fileexchange\/183126-matlab-docmaker\"><span>MATLAB DocMaker<\/span><\/a><span> by <\/span><a href = \"https:\/\/uk.mathworks.com\/matlabcentral\/profile\/authors\/16247\"><span>David Sampson<\/span><\/a><span>. <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>Many of the toolboxes featured on Pick Of The Week include superb documentation that integrates with MATLAB's documentation system. They appear in a section called 'Supplemental Software' and here's that section in my MATLAB. You'll recognize a couple of picks from last year such as <\/span><a href = \"https:\/\/blogs.mathworks.com\/pick\/2025\/09\/12\/fsda-flexible-statistics-data-analysis-toolbox\/\"><span>FSDA Toolbox<\/span><\/a><span> and <\/span><a href = \"https:\/\/blogs.mathworks.com\/pick\/2025\/09\/30\/k-wave-a-matlab-toolbox-for-the-time-domain-simulation-of-acoustic-wave-fields\/\"><span>k-Wave<\/span><\/a><span> in the list along with a couple you haven't seen before.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><img class = \"imageNode\" src = \"https:\/\/blogs.mathworks.com\/pick\/files\/docmakerPOTW_1.png\" width = \"663\" height = \"254\" alt = \"\" style = \"vertical-align: baseline; width: 663px; height: 254px;\"><\/img><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>'Koch Toolbox' is a toy I made for myself to see how easy it was to use today's pick: <\/span><a href = \"https:\/\/uk.mathworks.com\/matlabcentral\/fileexchange\/183126-matlab-docmaker\"><span>MATLAB DocMaker toolbox<\/span><\/a><span>. <\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>It was pretty easy! After installing DocMaker toolbox and connecting it to GitHub (The current version of the toolbox makes use of the GitHub Markdown API), all I needed to do was write a couple of Markdown Files and then ask DocMaker to do its magic. Three commands later and I was done.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>DocMaker even uses itself to generate its own documentation, which is <\/span><a href = \"https:\/\/github.com\/mathworks\/docmaker\/blob\/master\/tbx\/docmakerdoc\/index.md\"><span>also available on GitHub<\/span><\/a><span>.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>With DocMaker, you can:<\/span><\/div><ul  style = 'margin: 10px 0px 20px; padding-left: 0px; font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-size: 14px; '><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><span>write documentation in<\/span><span> <\/span><a href = \"https:\/\/uk.mathworks.com\/matlabcentral\/discussions\/general\/882095-markdown-support-in-matlab-r2025a-is-excellent\"><span>Markdown<\/span><\/a><span> <\/span><span>and convert to HTML for viewing in MATLAB<\/span><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><span>run MATLAB code blocks in documents and include textual and graphical output<\/span><\/li><li  style = 'margin-left: 56px; line-height: 21px; min-height: 0px; text-align: left; white-space: pre-wrap; '><span>create MATLAB documentation index files from a Markdown table of contents<\/span><\/li><\/ul><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>It also has a cute logo.<\/span><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><img class = \"imageNode\" src = \"https:\/\/blogs.mathworks.com\/pick\/files\/docmakerPOTW_2.png\" width = \"160\" height = \"120\" alt = \"\" style = \"vertical-align: baseline; width: 160px; height: 120px;\"><\/img><\/div><div  style = 'margin: 2px 10px 9px 4px; padding: 0px; line-height: 21px; min-height: 0px; white-space: pre-wrap; color: rgb(33, 33, 33); font-family: Helvetica, Arial, sans-serif, Helvetica, Arial, sans-serif; font-style: normal; font-size: 14px; font-weight: 400; text-align: left; '><span>DocMaker requires MATLAB R2021a or later to <\/span><span style=' font-style: italic;'>generate<\/span><span> documentation but the resulting docs can be viewed offline and in much older MATLAB releases. Check it out on <\/span><a href = \"https:\/\/uk.mathworks.com\/matlabcentral\/fileexchange\/183126-matlab-docmaker\"><span>File Exchange<\/span><\/a><span> and <\/span><a href = \"https:\/\/github.com\/mathworks\/docmaker\"><span>GitHub<\/span><\/a><span>.<\/span><\/div>\r\n<\/div><script type=\"text\/javascript\">var css = ''; var head = document.head || document.getElementsByTagName('head')[0], style = document.createElement('style'); head.appendChild(style); style.type = 'text\/css'; if (style.styleSheet){ style.styleSheet.cssText = css; } else { style.appendChild(document.createTextNode(css)); }<\/script>","protected":false},"excerpt":{"rendered":"<div class=\"overview-image\"><img src=\"https:\/\/blogs.mathworks.com\/pick\/files\/docmakerPOTW_2.png\" class=\"img-responsive attachment-post-thumbnail size-post-thumbnail wp-post-image\" alt=\"\" decoding=\"async\" loading=\"lazy\" \/><\/div><p>Mike's pick this week is MATLAB DocMaker by David Sampson. Many of the toolboxes featured on Pick Of The Week include superb documentation that integrates with MATLAB's documentation system. They... <a class=\"read-more\" href=\"https:\/\/blogs.mathworks.com\/pick\/2026\/01\/30\/matlab-docmaker-making-it-easier-to-create-documentation-for-your-matlab-toolbox\/\">read more >><\/a><\/p>","protected":false},"author":176,"featured_media":17211,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[16,44,28],"tags":[],"_links":{"self":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/17213"}],"collection":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/users\/176"}],"replies":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/comments?post=17213"}],"version-history":[{"count":1,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/17213\/revisions"}],"predecessor-version":[{"id":17214,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/posts\/17213\/revisions\/17214"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/media\/17211"}],"wp:attachment":[{"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/media?parent=17213"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/categories?post=17213"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blogs.mathworks.com\/pick\/wp-json\/wp\/v2\/tags?post=17213"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}