답변 (1개)

dbmn
dbmn 2016년 7월 28일

0 개 추천

Hi,
here's a piece of code that should get you started.
Best
Michael
clear all; close all; clc;
% Create the Figures (this part you already have in your code somewhere)
for i=1:1:3
figure
h(i) = plot(rand(10,1));
end
% Save the Figures as jpeg using the Graphics handle h(i)
for i=1:1:numel(h)
saveas(h(i),sprintf('%d.jpg', i))
end

카테고리

도움말 센터File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

제품

질문:

2016년 7월 28일

답변:

2016년 7월 28일

Community Treasure Hunt

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

Start Hunting!

Translated by