Abu Bati5a
Abu Bati5a

Reputation: 111

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.

Upvotes: 1

Views: 1373

Answers (1)

Abu Bati5a
Abu Bati5a

Reputation: 111

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...

Upvotes: 4

Related Questions