Generate PDF by script

4 views (last 30 days)
Mujtaba Farrukh
Mujtaba Farrukh on 31 Dec 2021
Commented: Kevin on 1 Jan 2022
Hi,
I want to generate the pdf file (not from pressing the publish button or by using the save as button) from script (.m or .mlx). Is there any way to do so?
Your reply would be appreciated.
Thanks in anticipation.
  7 Comments
Mujtaba Farrukh
Mujtaba Farrukh on 1 Jan 2022
So, now, I have commented the T1 and T4. The program runs fine and generate PDF too. But the thing is there is a lot of difference between publish button pdf and publish function pdf. Is there any way to get the same pdf as the button do

Sign in to comment.

Accepted Answer

Kevin
Kevin on 31 Dec 2021
What about the MATAB function publish( )?
  2 Comments
Kevin
Kevin on 1 Jan 2022
I believe the answer is yes. But in order to generate the PDF, you need MATLAB Report Generator (which is a toolbox).

Sign in to comment.

More Answers (0)

Categories

Find more on MATLAB Report Generator in Help Center and File Exchange

Products


Release

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by