MATLAB: Instead of clicking ‘publish’, I want to write a code for it which makes use of saved settings. How

pdfpublishreport

I've edited 'publishing settings' for a certain code to output a PDF file and to not include code, I've saved these settings under the name 'clinical report', and now I'd like to enter a CODE into my report that executes this, instead of manually clicking 'publish'. Does anybody have any idea?
Thanks in advance