8000 Exporting uifigure · Issue #261 · altmany/export_fig · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Exporting uifigure #261
< 7F37 div class="Box-sc-g0xbh4-0 cQpCwc">
Closed
Closed
@MarvinILA

Description

@MarvinILA

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

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0