Hi there, I've replaced the saveas function with print function, and used 'figure(handle) and print(handle)' instead of 'handle = figure and saveas(handle)', and my problem is solved.
about saving figure while doing other things
2 次查看(过去 30 天)
显示 更早的评论
Hi there, I used ' saveas(gcf,'pic_name')' to save my matlab figures, when running my code, I watched movies on computer, to my surprise, the pictures I saved were all those in my movies, so I gave my figure a handle(h = figure), then used ' saveas(h,'pic_name')', but still I got pictures saved in my movies. I wonder how I could save figures in matlab while I was doing something else on my computer? Many thanks!
0 个评论
采纳的回答
更多回答(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!