Instead of clicking 'publish', I want to write a code for it which makes use of saved settings. How?
조회 수: 1 (최근 30일)
이전 댓글 표시
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
댓글 수: 0
채택된 답변
per isakson
2014년 3월 19일
댓글 수: 2
per isakson
2014년 3월 20일
Yes!
I replaced your m-file, clinicalreport.m, by fourier_demo2.m. It produces a pdf-file without m-code
copyfile(fullfile(matlabroot,'help','techdoc',...
'matlab_env','examples','fourier_demo2.m'),'.','f')
function_name = 'fourier_demo2.m';
options_doc_nocode.format = 'pdf';
options_doc_nocode.showCode = false;
publish( function_name, options_doc_nocode );
I assume the problem is in clinicalreport.m.
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Biotech and Pharmaceutical에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!