Can I copy a figure during runing ?
1 回表示 (過去 30 日間)
古いコメントを表示
I want to copy a figure during running the code But I stopped the running temporary and I want to copy the figure ,, so can I do that ?
2 件のコメント
Rik
2022 年 8 月 25 日
Do you want to simply capture an image, or do you want a functional copy of a GUI?
採用された回答
Walter Roberson
2022 年 8 月 25 日
Yes you can copy a figure during execution. functions such as exportgraphics() or savefig() or copyobj() can be called.
As usual if you saving as an image, drawnow() first.
Also if you are in the middle of configuring graphic objects, you may need to make them visible in order for proper sizing and layout to be done.
5 件のコメント
Image Analyst
2022 年 8 月 25 日
I don't believe that saves a screenshot. If you want a screenshot saved to an image file on disk you should use saveas or export_fig.
Walter Roberson
2022 年 8 月 26 日
"Copy Figure" to clipboard can be coded as
hgexport(gcf, '-clipboard')
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Printing and Saving についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!