I'm using MATLAB to generate a report from a script file, and was wondering if it's possible to somehow include function definitions which will be automatically be added to my published document. Instead of having to copy/paste between seperate published documents into a final one.
I've read the documentation on Publishing M-Files and Using Cells for Publishing, but can't find the answer to my question.
Thanks in advance for any suggestions.