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 Commento

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

Accedi per commentare.

Risposte (2)

Vignesh Babu Rao
Vignesh Babu Rao il 19 Ott 2020
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 Commento

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

Accedi per commentare.

iman sor
iman sor il 21 Lug 2023
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)

Categorie

Scopri di più su Creating, Deleting, and Querying Graphics Objects in Centro assistenza e File Exchange

Prodotti

Release

R2018b

Richiesto:

il 13 Set 2019

Risposto:

il 21 Lug 2023

Community Treasure Hunt

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

Start Hunting!

Translated by