livescript: Plots not appearing in PDF export

Hi,
I've having trouble exporting livescripts into a PDF.
When I create a livescript file in Matlab 2018b (Mac OS), run it (with plot commands) the figure of the plots appear and I successfully export it (with figure plots) to PDF.
However, when I use the same livescript file in Matlab 2018b (Windowns 10) and run it. The figures appear in MATLAB but they do not appear in the exported PDF.
Any ideas how to correct this?
Thanks,
David

1 commentaire

Michael
Michael le 15 Avr 2020
I am having this same problems all of a sudden with one of my LiveScripts. Word and HTML outputs look okay though.

Connectez-vous pour commenter.

Réponses (2)

Vignesh Babu Rao
Vignesh Babu Rao le 19 Oct 2020

0 votes

I have the same problem with Matlab 2020b on Windows. But export to word worked for me. Finally ended up converting word to pdf. Just a workaround (assuming export to word works) until they fix this issue.

1 commentaire

I suggest contacting technical support as well. They can't fix what they don't know about.

Connectez-vous pour commenter.

iman sor
iman sor le 21 Juil 2023

0 votes

I had the same problem, but if you first save the script and then try to export it as PDF it should work. (at least it worked for me)

Catégories

En savoir plus sur Creating, Deleting, and Querying Graphics Objects dans Centre d'aide et File Exchange

Produits

Version

R2018b

Community Treasure Hunt

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

Start Hunting!

Translated by