Help regarding Publish to pdf in matlab.
35 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
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 Kommentar
Matt Gaidica
am 17 Dez. 2020
Bearbeitet: Matt Gaidica
am 17 Dez. 2020
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')
Antworten (1)
Abhishek Gupta
am 22 Dez. 2020
Bearbeitet: Abhishek Gupta
am 22 Dez. 2020
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 Kommentare
Siehe auch
Kategorien
Mehr zu Startup and Shutdown finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!