Thursday, October 20, 2005

MATLAB: Save bmp to eps

print('-depsc2', temp3);

//
for n = 0:99
temp1 = ['img',num2str(n),'.bmp'];
img = imread(temp1);
temp3 = ['d_img',num2str(n),'.eps'];
print -depsc2 temp3; % wrong here
end

//
Use the functional form of PRINT rather than the command form.
print('-depsc2', temp3);

This:
print -depsc2 temp3; % wrong here

is equivalent to:
print('-depsc2', 'temp3')

No comments:

Post a Comment