Create a PDF document from Matlab?

159 次查看(过去 30 天)
A
A 2016-3-4
Hi guys,
With results calculated and plotted in matlab, I would love to generate a beautiful print-friendly PDF which pops open?
Is this a possibility?
Thanks!

回答(2 个)

Ahmet Cecen
Ahmet Cecen 2016-3-4
publish('myscript.m','pdf');
For reference:
  9 个评论
A
A 2016-3-5
编辑:A 2016-3-5
Is there not a way for me to manually edit or change the way the Publish function works? And just remove that bit where it adds that watermark?
Or is there any other way to create a customized PDF output of my figure with text and other things?
Thanks
Thanks
Ahmet Cecen
Ahmet Cecen 2016-3-5
Here is another very round about and much harder way of doing it as you seem to be sincerly hating advertising for MATLAB.
1) Download and Install Jupyter notebook and Python.
2) Either install the Jupyter MATLAB connector or use the official MATLAB engine for Python.
3) Write your script in Jupyter, and then you can compile it as a PDF without the watermarks.

请先登录,再进行评论。


kajin
kajin 2024-10-20
εημλζφδμωξ how can write in matlab
  1 个评论
Walter Roberson
Walter Roberson 2024-10-20
You can write that as
thisline = 'εημλζφδμωξ';
You can, for example,
text(0.5, 0.4, thisline, 'interpreter', 'none')
But if you need latex then you would have to use something like
thislinelatex = '$\varepsilon\eta\mu\lambda\zeta\varphi\delta\mu\omega\xi$';
text(0.5, 0.5, thislinelatex, 'interpreter', 'latex')

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Integration with Online Platforms 的更多信息

标签

Community Treasure Hunt

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

Start Hunting!

Translated by