The code just sets the right environment and uses MatLabs built in Publish function.
A directory called html will be created in your current directory. It is within this you will find the pdf files.
Michael Madelaire (2021). Publish script - without plot and warnings (https://www.mathworks.com/matlabcentral/fileexchange/68891-publish-script-without-plot-and-warnings), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!