hello..could me help me understand why I cant publish my files ?

1 view (last 30 days)
hello..could me help me understand why I cant publish my files ? I want it published in pdf format so I change the publishing option to pdf and the destination folder too... But when I open the folder, the pdf file is never there.
  1 Comment
Adam Danz
Adam Danz on 22 Sep 2020
How are you setting the destination folder?
Do you get an error message or any message/output at all?
What command are you using to publish the file?

Sign in to comment.

Answers (1)

Prabhanjan Mentla
Prabhanjan Mentla on 24 Sep 2020
Hi,
To make things clear, start creating a new folder and point your current folder in matlab to created folder.
Create a script(testScript.m file) and save in the created folder.
To publish the file (into pdf), use the below command
output = publish('testScript.m','pdf');
A new folder html will be created and the you can see the created pdf file in it something like below.
Hope this helps.

Tags

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by