>> p=publish('publish_technics'); web(p); does generate a HTML Report based on the Settings done in the M-File Script using the R14 PUBLISH technics from command line. User can edit the 'publish_technics' M-File, enable the Cell Execution from the MATLAB Editor / Debugger Menu Cell and click on the Publish Mouse Button.
Publish does generate HTML, XML, Word, Power-Point and LaTex Documents. This settings could be found under the Editor Preferences. Different Style Sheets (*.xsl) could be used to modify the results.
More about the Publish Technics under MATLAB refer to the Documentation typing >> doc publish.
>> replace_png_by_jpg('HTML_File') is a helper function to exchange all PNG to JPG created entries in the HTML code if you want to use JPG-Files.
Enjoy and ThX for your Feedback.
Frank González-Morphy (2021). PUBLISH_TECHNICS (https://www.mathworks.com/matlabcentral/fileexchange/6473-publish_technics), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired: Generate help files from m-files
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!