简体   繁体   中英

Can't export figure in matlab

So I tried to export a .fig I had saved a few months ago into a .pdf.

Whenever I click on file->save as and choose the .pdf type I get this error:

Undefined function 'printCallback' for input arguments of type 'matlab.graphics.shape.internal.PointDataTip'

I get the same error when using hgexport(myFig,'myFig.pdf') manually.

Ok it works now.

The Problem was, that I had selected a data point in the figure with my cursor. After deselecting the point it worked.

I personally didn't find anything about this issue on the internet, might be interesting for others maybe...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM