How to change the default publishing configuration without running into errors?
13 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Alexander Kuznetsov
el 30 de En. de 2021
Comentada: Alexander Kuznetsov
el 4 de Feb. de 2021
%% ME 2004 HW 1 Template (Spring 2021)
% ME2004_S21_Homework01_AK
clear;
clc;
close all;
%% Problem 2
%% Problem 3
%% Problem 4
%% Problem 5
Genral structure of the .m file ^.
When trying to change the publishing options to pdf output file format while keeping output file folder as
C:\Users\Sasha\Desktop\ME2004_Assignments\html
get the following errors:
Error using publish
The output directory "C:\Users\Sasha\Desktop\ME2004_Assignments" is not writable.
Error in mdbpublish (line 55)
outputPath = publish(file, options);
Error using open (line 50)
NAME must be a character vector or string scalar.
Please, explain it like I am 5...
0 comentarios
Respuestas (1)
Sindhu Karri
el 3 de Feb. de 2021
Hi,
As per my understanding, you are getting an error while using the publish() function. You need to make sure that the "C:\Users\Sasha\Desktop\ME2004_Assignments\html" folder exists and you have permission to write in it.
Ver también
Categorías
Más información sobre Startup and Shutdown en Help Center y File Exchange.
Productos
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!