Help regarding Publish to pdf in matlab.
16 次查看(过去 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!