I am trying to export a figure to a file. When I click on Export Setup in the Property Editor and try to save the file, I receive the following error:
error using ==> hgexport error using ==> print function 'real' is not defined for values of class 'figure'
The occurrence of the error depends on the very first call to Export Setup after I start MATLAB is made. If the first call is from the figure's File menu, then the error does not occur. If the first call is from the Property Editor, then the error occurs whenever Export Setup is selected.
Best Answer