Matlab App designer export figure

I want to export figure image. How can I export a figure in matlab app designer?

댓글 수: 2

VBBV
VBBV 2023년 8월 7일
편집: VBBV 2023년 8월 7일
If its a Webapp, then the function exportapp is not valid, try also exporting the figure instead of just axes alone
Kaan Öner
Kaan Öner 2023년 8월 7일
No It's desktop app. Matlab App designer.

댓글을 달려면 로그인하십시오.

답변 (3개)

VBBV
VBBV 2023년 8월 7일
편집: VBBV 2023년 8월 7일

0 개 추천

% File exchange
exportfig(app.UIAxes,"test")
% Standard matlab function
savefig(app.UIAxes,"test.fig")
% exportgraphics
exportgraphics(app.UIAxes,"test.png")
These are some of the ways you can export figure, try using one from FEX

댓글 수: 1

VBBV
VBBV 2023년 8월 7일
편집: VBBV 2023년 8월 7일
Try using exportfig option available from FEX
https://in.mathworks.com/matlabcentral/fileexchange/727-exportfig

댓글을 달려면 로그인하십시오.

Kaan Öner
Kaan Öner 2023년 8월 7일

0 개 추천

Thanks but it's not working with UIAxes. And I want to save graph as an image.

댓글 수: 2

Walter Roberson
Walter Roberson 2023년 8월 7일
Did you install exportfig() from the File Exchange (or use Add-On Explorer) ? exportfig() is not built in to MATLAB.
Kaan Öner
Kaan Öner 2023년 8월 7일

댓글을 달려면 로그인하십시오.

Kaan Öner
Kaan Öner 2023년 8월 7일

0 개 추천

I cant use these functions so I decided to use save button on the graph.

카테고리

도움말 센터File Exchange에서 Printing and Saving에 대해 자세히 알아보기

제품

릴리스

R2023a

질문:

2023년 8월 7일

답변:

2023년 8월 7일

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by