I need help in exporting the figure that is embedded in your GUI:
axes(handles.axes3);
[FileName, PathName] = uiputfile('*.jpg', 'Save As');
Name = fullfile(PathName, FileName);
imwrite(?????, Name, 'jpg');
What does in the question mark? I put in handles.axes3 and it creates the file at 1kb but there's no image.
What am i doing wrong?

 採用された回答

Walter Roberson
Walter Roberson 2013 年 11 月 27 日

0 投票

See getframe(). Also see saveas() and print(), both of which would be likely be more appropriate than getframe() for your purpose.

その他の回答 (0 件)

カテゴリ

ヘルプ センター および File Exchange で Display Image についてさらに検索

タグ

質問済み:

T
T
2013 年 11 月 27 日

回答済み:

2013 年 11 月 27 日

Community Treasure Hunt

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

Start Hunting!

Translated by