Help regarding Publish to pdf in matlab.
조회 수: 3 (최근 30일)
이전 댓글 표시
Im having problem using the command publish
publish('Project.m','pdf')
When running the command im getting the error message
"Error using publish
The output directory "C:\Users\name\Documents\MATLAB\html" is not writable."
댓글 수: 1
Matt Gaidica
2020년 12월 17일
편집: Matt Gaidica
2020년 12월 17일
For all output directories? It's potentially a permissions issue with your folder, you might try to manually create the folder then check its properties.
options = struct('format','pdf','outputDir','C:\myPublishedOutput')
답변 (1개)
Abhishek Gupta
2020년 12월 22일
편집: Abhishek Gupta
2020년 12월 22일
Hi,
As per my understanding, you are getting an error while using the publish() function. You need to make sure that the "C:\Users\name\Documents\MATLAB\html" folder exists and you have permission to write in it.
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Startup and Shutdown에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!