Closed
Description
Hi,
I am trying to use the export_fig code within the Matlab App Designer. I am trying to export the figure with the following code:
export_fig(figureHandle, path2file, '-pdf', '-png', '-m1.5');
However, as I execute the code the following error is shown:
Error using matlab.ui.Figure/set
Functionality not supported with figures created with the uifigure function. For more information,
see Graphics Support in App Designer.
Error in export_fig (line 397)
set(fig, 'InvertHardcopy', 'off');
How can I run export_fig with uifigures?
Thanks a lot!
Metadata
Metadata
Assignees
Labels
No labels