Help regarding Publish to pdf in matlab.
9 ビュー (過去 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!