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

조회 수: 1(최근 30일)
Prashant Khatiwada
Prashant Khatiwada 2020년 9월 21일
답변: Prabhanjan Mentla 2020년 9월 24일
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
Adam Danz
Adam Danz 2020년 9월 22일
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?

댓글을 달려면 로그인하십시오.

답변(1개)

Prabhanjan Mentla
Prabhanjan Mentla 2020년 9월 24일
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.

태그

제품

Community Treasure Hunt

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

Start Hunting!

Translated by